Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 51.92 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.08095, allocations: 46.62 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01133/0.09232, allocations: 10.98 MB / 338.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.0987, allocations: 3.215 MB / 342.2 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1005, allocations: 35.88 kB / 342.2 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.1022, allocations: 0.6871 MB / 342.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.1052, allocations: 0.8881 MB / 343.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1073, allocations: 0.9167 MB / 344.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003931/0.1112, allocations: 3.429 MB / 348.1 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.1125, allocations: 0.9021 MB / 349 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.1142, allocations: 1.273 MB / 350.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.116, allocations: 1.51 MB / 351.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005385/0.1165, allocations: 352 kB / 352.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.1172, allocations: 380 kB / 352.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005581/0.1177, allocations: 0.7203 MB / 353.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.1191, allocations: 1.469 MB / 354.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.1225, allocations: 4.225 MB / 358.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1225, allocations: 0 / 358.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1225, allocations: 0 / 358.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.952e-05/0.1226, allocations: 4 kB / 358.9 MB, free: 5.328 MB / 302.1 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.006815/0.1294, allocations: 3.119 MB / 362 MB, free: 2.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1294, allocations: 12.03 kB / 362.1 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.1299, allocations: 289.5 kB / 362.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.1321, allocations: 1.391 MB / 363.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.1323, allocations: 160.5 kB / 363.9 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.1325, allocations: 208 kB / 364.1 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.136, allocations: 1.889 MB / 366 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/0.1361, allocations: 4 kB / 366 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.1363, allocations: 84 kB / 366.1 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.1363, allocations: 52 kB / 366.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/0.1403, allocations: 1.91 MB / 368 MB, free: 12.02 MB / 318.1 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.01179/0.1521, allocations: 7.437 MB / 375.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.1556, allocations: 2.285 MB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.1582, allocations: 1.37 MB / 379.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.1583, allocations: 33.97 kB / 379.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.1584, allocations: 60.56 kB / 379.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 5.019e-06/0.1584, allocations: 0 / 379.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.208/0.3664, allocations: 17.59 MB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3665, allocations: 89.58 kB / 396.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.3687, allocations: 1.836 MB / 398.7 MB, free: 44.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.3691, allocations: 82.86 kB / 398.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.3696, allocations: 0.9826 MB / 399.8 MB, free: 43.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/0.3703, allocations: 1.148 MB / 400.9 MB, free: 42.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007369/0.3711, allocations: 0.498 MB / 401.4 MB, free: 42.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.3711, allocations: 305.1 kB / 401.7 MB, free: 42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.3733, allocations: 1.219 MB / 403 MB, free: 40.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.3755, allocations: 1.521 MB / 404.5 MB, free: 39.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.3801, allocations: 2.88 MB / 407.4 MB, free: 36.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.3801, allocations: 4 kB / 407.4 MB, free: 36.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009195/0.3893, allocations: 4.439 MB / 411.8 MB, free: 31.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3893, allocations: 11.94 kB / 411.8 MB, free: 31.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3894, allocations: 4 kB / 411.8 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/0.3943, allocations: 1.346 MB / 413.2 MB, free: 30.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.3969, allocations: 0.5149 MB / 413.7 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/0.4193, allocations: 20.62 MB / 434.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.4219, allocations: 103.9 kB / 434.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/0.4224, allocations: 112 kB / 434.5 MB, free: 8.199 MB / 318.1 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 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.4235, allocations: 0.5781 MB / 435.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.424, allocations: 248.9 kB / 435.3 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009116/0.4332, allocations: 4.395 MB / 439.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.4332, allocations: 40 kB / 439.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4332, allocations: 4 kB / 439.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.4333, allocations: 15.94 kB / 439.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.4486, allocations: 8.403 MB / 448.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.4487, allocations: 4.281 kB / 448.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/0.451, allocations: 463.3 kB / 448.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/0.4562, allocations: 1.267 MB / 449.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.4565, allocations: 63.98 kB / 450 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02437/0.4809, allocations: 19.2 MB / 469.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.481, allocations: 9.25 kB / 469.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.4952, allocations: 6.106 MB / 475.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.4968, allocations: 0.6072 MB / 475.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006274/0.4974, allocations: 64 kB / 476 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/0.4996, allocations: 107.9 kB / 476.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007155/0.5003, allocations: 258.6 kB / 476.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/0.5006, allocations: 100.1 kB / 476.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002082/0.5027, allocations: 1.293 MB / 477.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5027, allocations: 0 / 477.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003252/0.5059, allocations: 0.8633 MB / 478.6 MB, free: 10.92 MB / 366.1 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.5071, allocations: 443.5 kB / 479 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/0.5221, allocations: 4.602 MB / 483.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5221, allocations: 0 / 483.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005055/0.5272, allocations: 2.971 MB / 486.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.5297, allocations: 381.6 kB / 486.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.5403, allocations: 5.728 MB / 492.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.542, allocations: 1.702 MB / 494.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.5431, allocations: 183.4 kB / 494.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5431, allocations: 4 kB / 494.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.2487/0.7918, allocations: 118.6 MB / 0.5988 GB, free: 72.63 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches