Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007501/0.0007501, allocations: 97.03 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.008256/0.2069, allocations: 9.641 MB / 384.2 MB, free: 37.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.2127, allocations: 3.084 MB / 387.3 MB, free: 35.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.2142, allocations: 38.28 kB / 387.3 MB, free: 35.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.2152, allocations: 0.5693 MB / 387.9 MB, free: 34.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.2172, allocations: 0.7557 MB / 388.7 MB, free: 34.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2187, allocations: 0.5498 MB / 389.2 MB, free: 33.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.222, allocations: 3.017 MB / 392.2 MB, free: 31.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008624/0.2229, allocations: 0.6917 MB / 392.9 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.224, allocations: 1.016 MB / 393.9 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009235/0.225, allocations: 1.237 MB / 395.2 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.2252, allocations: 144 kB / 395.3 MB, free: 28.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.2256, allocations: 172 kB / 395.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.2258, allocations: 490 kB / 396 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.2261, allocations: 0.5159 MB / 396.5 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.2279, allocations: 3.335 MB / 399.8 MB, free: 23.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2279, allocations: 8 kB / 399.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2279, allocations: 0 / 399.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.2279, allocations: 0 / 399.8 MB, free: 23.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005203/0.2331, allocations: 2.741 MB / 402.6 MB, free: 20.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2332, allocations: 12.03 kB / 402.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.2336, allocations: 296.4 kB / 402.9 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.2354, allocations: 1.317 MB / 404.2 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.2355, allocations: 156.1 kB / 404.3 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.2357, allocations: 200 kB / 404.5 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/0.2388, allocations: 1.905 MB / 406.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.2389, allocations: 7.906 kB / 406.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.2391, allocations: 84 kB / 406.5 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2391, allocations: 52 kB / 406.6 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/0.2425, allocations: 1.957 MB / 408.5 MB, free: 14.59 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009469/0.2519, allocations: 7.476 MB / 416 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.2549, allocations: 2.293 MB / 418.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.2571, allocations: 1.382 MB / 419.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2572, allocations: 37.97 kB / 419.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2573, allocations: 60.56 kB / 419.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of pre-optimization done (n=234): time 4.318e-06/0.2573, allocations: 4 kB / 419.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=351): time 0.05813/0.3154, allocations: 17.8 MB / 437.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3155, allocations: 94.17 kB / 437.7 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.3179, allocations: 1.832 MB / 439.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/0.3182, allocations: 81.7 kB / 439.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.319, allocations: 0.9771 MB / 440.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009589/0.3199, allocations: 1.155 MB / 441.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3201, allocations: 64 kB / 441.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3203, allocations: 428.7 kB / 442.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.3228, allocations: 1.236 MB / 443.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.3255, allocations: 1.533 MB / 445 MB, free: 9.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.3281, allocations: 1.42 MB / 446.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3281, allocations: 0 / 446.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01013/0.3383, allocations: 4.471 MB / 450.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3383, allocations: 8 kB / 450.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3383, allocations: 4 kB / 450.9 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005434/0.3438, allocations: 1.322 MB / 452.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.3464, allocations: 0.5383 MB / 452.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/0.3709, allocations: 18.85 MB / 471.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.3733, allocations: 120 kB / 471.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.3736, allocations: 104 kB / 471.8 MB, free: 13.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.3747, allocations: 0.5856 MB / 472.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.3751, allocations: 264.8 kB / 472.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/0.385, allocations: 4.423 MB / 477.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.3851, allocations: 36 kB / 477.1 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3851, allocations: 8 kB / 477.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.3851, allocations: 19.92 kB / 477.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.4006, allocations: 8.426 MB / 485.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4007, allocations: 4 kB / 485.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/0.403, allocations: 471.6 kB / 486 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005122/0.4082, allocations: 1.27 MB / 487.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.4084, allocations: 63.98 kB / 487.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.211/0.6194, allocations: 17.49 MB / 0.493 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6194, allocations: 4.844 kB / 0.493 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.6334, allocations: 6.148 MB / 0.499 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.6349, allocations: 0.6136 MB / 0.4996 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.6352, allocations: 62.22 kB / 0.4997 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.637, allocations: 126.5 kB / 0.4998 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/0.6377, allocations: 257.8 kB / 0.5 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.6379, allocations: 89.69 kB / 0.5001 GB, free: 100.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001848/0.6397, allocations: 1.28 MB / 0.5014 GB, free: 100 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6397, allocations: 0 / 0.5014 GB, free: 100 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0031/0.6429, allocations: 0.8696 MB / 0.5022 GB, free: 99.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.6439, allocations: 437.2 kB / 0.5026 GB, free: 99.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006913/0.6509, allocations: 4.472 MB / 0.507 GB, free: 97.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.6509, allocations: 3.875 kB / 0.507 GB, free: 97.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004074/0.655, allocations: 2.98 MB / 0.5099 GB, free: 95.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.6571, allocations: 367 kB / 0.5103 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008685/0.6658, allocations: 6.747 MB / 0.5168 GB, free: 89.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.667, allocations: 1.699 MB / 0.5185 GB, free: 87.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.6682, allocations: 181.4 kB / 0.5187 GB, free: 87.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6682, allocations: 0 / 0.5187 GB, free: 87.61 MB / 378.7 MB Notification: Performance of Templates: time 0.09897/0.7672, allocations: 118.3 MB / 0.6342 GB, free: 1.105 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches