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.001064/0.001063, allocations: 113.5 kB / 17.28 MB, free: 6.047 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.001139/0.001139, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.362/1.362, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001114/0.001114, allocations: 48.61 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08901, allocations: 46.64 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0121/0.1011, allocations: 10.88 MB / 337.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.1077, allocations: 3.176 MB / 340.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.1097, allocations: 39.88 kB / 340.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.1115, allocations: 0.5833 MB / 341.5 MB, free: 6.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1146, allocations: 0.7725 MB / 342.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1168, allocations: 0.8273 MB / 343.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004438/0.1212, allocations: 3.428 MB / 346.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.1228, allocations: 0.8982 MB / 347.4 MB, free: 52 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.1249, allocations: 1.293 MB / 348.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.1274, allocations: 1.514 MB / 350.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.1285, allocations: 352 kB / 350.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1299, allocations: 380 kB / 350.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009788/0.1309, allocations: 0.7203 MB / 351.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/0.1334, allocations: 1.473 MB / 353.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.1397, allocations: 4.225 MB / 357.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.1398, allocations: 4 kB / 357.3 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1398, allocations: 3.938 kB / 357.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00024/0.14, allocations: 0 / 357.3 MB, free: 6.07 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.009436/0.1495, allocations: 3.115 MB / 360.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1495, allocations: 12.03 kB / 360.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006247/0.1502, allocations: 289.5 kB / 360.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.1526, allocations: 1.387 MB / 362.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1527, allocations: 156.5 kB / 362.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.153, allocations: 216 kB / 362.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.1567, allocations: 1.885 MB / 364.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.1568, allocations: 0 / 364.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.157, allocations: 84 kB / 364.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.157, allocations: 52 kB / 364.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.1607, allocations: 1.906 MB / 366.4 MB, free: 12.78 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.01139/0.1721, allocations: 7.452 MB / 373.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.1756, allocations: 2.278 MB / 376.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.1781, allocations: 1.37 MB / 377.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.1782, allocations: 41.95 kB / 377.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.1783, allocations: 56.56 kB / 377.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.117e-06/0.1783, allocations: 0 / 377.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2286/0.4069, allocations: 17.59 MB / 395.2 MB, free: 46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.407, allocations: 85.67 kB / 395.3 MB, free: 45.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.409, allocations: 1.844 MB / 397.1 MB, free: 45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.4093, allocations: 80.67 kB / 397.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.4097, allocations: 0.9727 MB / 398.2 MB, free: 44.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.4104, allocations: 1.158 MB / 399.4 MB, free: 43.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007422/0.4111, allocations: 0.5024 MB / 399.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.4112, allocations: 305.1 kB / 400.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.4132, allocations: 1.212 MB / 401.4 MB, free: 41.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.4153, allocations: 1.531 MB / 402.9 MB, free: 40.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.4193, allocations: 2.878 MB / 405.8 MB, free: 37.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.4194, allocations: 0 / 405.8 MB, free: 37.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.008549/0.4279, allocations: 4.441 MB / 410.2 MB, free: 32.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.428, allocations: 11.94 kB / 410.2 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.428, allocations: 4 kB / 410.2 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/0.4327, allocations: 1.337 MB / 411.6 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.4353, allocations: 0.5305 MB / 412.1 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.4557, allocations: 20.61 MB / 432.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.4582, allocations: 112 kB / 432.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.4585, allocations: 108 kB / 432.9 MB, free: 9.223 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.001004/0.4595, allocations: 0.5782 MB / 433.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.4598, allocations: 252.9 kB / 433.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008635/0.4685, allocations: 4.396 MB / 438.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4685, allocations: 32 kB / 438.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4685, allocations: 4 kB / 438.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.4686, allocations: 15.94 kB / 438.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.4831, allocations: 8.409 MB / 446.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.4831, allocations: 4 kB / 446.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/0.4854, allocations: 463.6 kB / 447.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004959/0.4904, allocations: 1.259 MB / 448.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004121/0.4909, allocations: 71.98 kB / 448.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/0.5138, allocations: 19.2 MB / 467.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5138, allocations: 3.938 kB / 467.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.5262, allocations: 6.107 MB / 473.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.5274, allocations: 0.6188 MB / 474.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/0.5277, allocations: 56 kB / 474.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.5294, allocations: 111.9 kB / 474.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006308/0.53, allocations: 258.8 kB / 474.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/0.5302, allocations: 87.92 kB / 474.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.5318, allocations: 1.29 MB / 476.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5318, allocations: 192 / 476.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002529/0.5343, allocations: 0.8698 MB / 477 MB, free: 11.9 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.00103/0.5354, allocations: 448.5 kB / 477.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01373/0.5491, allocations: 4.597 MB / 482 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5492, allocations: 1.125 kB / 482 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.5541, allocations: 2.979 MB / 485 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.5567, allocations: 377.7 kB / 485.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5681, allocations: 6.785 MB / 492.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.5695, allocations: 1.706 MB / 493.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001862/0.5714, allocations: 288.1 kB / 494.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.5719, allocations: 155.4 kB / 494.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.572, allocations: 0 / 494.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Templates: time 0.2131/0.785, allocations: 52.06 MB / 0.5335 GB, free: 130.4 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/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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches