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.001142/0.001142, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001189/0.001189, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.27/1.27, allocations: 205.1 MB / 224.7 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.001154/0.001154, allocations: 43.94 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09476, allocations: 46.63 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01143/0.1062, allocations: 10.91 MB / 338.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.1133, allocations: 3.168 MB / 341.5 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.1153, allocations: 39.88 kB / 341.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.117, allocations: 0.5833 MB / 342.1 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.12, allocations: 0.7764 MB / 342.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.1221, allocations: 0.8273 MB / 343.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004712/0.1268, allocations: 3.435 MB / 347.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.1283, allocations: 0.8982 MB / 348.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1305, allocations: 1.285 MB / 349.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.1328, allocations: 1.521 MB / 350.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008603/0.1337, allocations: 348 kB / 351.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1347, allocations: 380 kB / 351.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007816/0.1355, allocations: 0.7165 MB / 352.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.1372, allocations: 1.477 MB / 353.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.1404, allocations: 3.46 MB / 357.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1404, allocations: 0 / 357.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.89e-06/0.1405, allocations: 0 / 357.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.092e-05/0.1405, allocations: 3.938 kB / 357.2 MB, free: 6.828 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.007223/0.1478, allocations: 3.119 MB / 360.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1478, allocations: 8.031 kB / 360.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.1483, allocations: 289.5 kB / 360.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.1506, allocations: 1.391 MB / 362 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.1508, allocations: 156.5 kB / 362.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.1511, allocations: 212 kB / 362.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.1547, allocations: 1.885 MB / 364.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.1548, allocations: 3.938 kB / 364.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.155, allocations: 92 kB / 364.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.155, allocations: 51.94 kB / 364.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.1589, allocations: 1.906 MB / 366.3 MB, free: 13.53 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.01264/0.1715, allocations: 7.452 MB / 373.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.1751, allocations: 2.27 MB / 376.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.1776, allocations: 1.374 MB / 377.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1777, allocations: 37.95 kB / 377.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1778, allocations: 64.55 kB / 377.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.128e-06/0.1778, allocations: 0 / 377.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2266/0.4044, allocations: 17.59 MB / 395.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4045, allocations: 85.77 kB / 395.2 MB, free: 45.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.407, allocations: 1.838 MB / 397 MB, free: 44.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004938/0.4075, allocations: 82.83 kB / 397.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.4081, allocations: 0.9763 MB / 398.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000876/0.4089, allocations: 1.158 MB / 399.3 MB, free: 42.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000805/0.4098, allocations: 0.4952 MB / 399.8 MB, free: 42.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.4098, allocations: 301.1 kB / 400 MB, free: 42.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.4119, allocations: 1.22 MB / 401.3 MB, free: 41.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.4141, allocations: 1.528 MB / 402.8 MB, free: 40.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/0.4184, allocations: 2.878 MB / 405.7 MB, free: 37.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4185, allocations: 3.719 kB / 405.7 MB, free: 37.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009479/0.4279, allocations: 4.439 MB / 410.1 MB, free: 33.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.428, allocations: 11.94 kB / 410.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.428, allocations: 4 kB / 410.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.4333, allocations: 1.348 MB / 411.5 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.4362, allocations: 0.5226 MB / 412 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.4588, allocations: 20.59 MB / 432.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.4617, allocations: 107.9 kB / 432.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/0.4622, allocations: 108 kB / 432.8 MB, free: 9.672 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.001557/0.4638, allocations: 0.5794 MB / 433.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007225/0.4645, allocations: 255.6 kB / 433.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009941/0.4745, allocations: 4.4 MB / 438 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.4745, allocations: 36 kB / 438.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.4746, allocations: 0 / 438.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/0.4746, allocations: 19.94 kB / 438.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.4926, allocations: 8.4 MB / 446.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.4927, allocations: 4 kB / 446.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.4954, allocations: 463.6 kB / 446.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005654/0.5011, allocations: 1.267 MB / 448.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005399/0.5017, allocations: 63.98 kB / 448.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/0.5282, allocations: 19.2 MB / 467.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5282, allocations: 4 kB / 467.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.5434, allocations: 6.108 MB / 473.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/0.5455, allocations: 0.6071 MB / 474.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/0.5465, allocations: 64 kB / 474.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/0.5489, allocations: 107.9 kB / 474.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008439/0.5497, allocations: 262.8 kB / 474.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/0.55, allocations: 83.98 kB / 474.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.5523, allocations: 1.293 MB / 476 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.5523, allocations: 0 / 476 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003708/0.556, allocations: 0.8668 MB / 476.9 MB, free: 12.36 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.001276/0.5573, allocations: 445 kB / 477.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01573/0.5731, allocations: 4.596 MB / 481.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5731, allocations: 320 / 481.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005819/0.579, allocations: 2.98 MB / 484.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.5825, allocations: 385.6 kB / 485.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.5965, allocations: 6.848 MB / 492.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.5987, allocations: 1.706 MB / 493.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.6003, allocations: 183.4 kB / 494 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6003, allocations: 0 / 494 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.3245/0.9248, allocations: 118.6 MB / 0.5982 GB, free: 73.56 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches