Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009721/0.0009723, allocations: 92.53 kB / 17.3 MB, free: 6.023 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.00136/0.00136, allocations: 174.2 kB / 18.2 MB, free: 5.414 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.413/1.413, allocations: 205.4 MB / 224.4 MB, free: 12.98 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.0004543/0.0004542, allocations: 12 kB / 281.4 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08622, allocations: 47.58 MB / 329 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.009549/0.09581, allocations: 10.31 MB / 339.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006019/0.1019, allocations: 3.472 MB / 342.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1032, allocations: 43.81 kB / 342.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006869/0.11, allocations: 8.137 MB / 350.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.1157, allocations: 4.555 MB / 355.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1178, allocations: 0.8273 MB / 356.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005533/0.1233, allocations: 5.085 MB / 361.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.1245, allocations: 0.7613 MB / 362.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.128, allocations: 2.54 MB / 364.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.1329, allocations: 4.881 MB / 369.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.1333, allocations: 140 kB / 369.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.1338, allocations: 176 kB / 369.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.135, allocations: 1.736 MB / 371.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.1369, allocations: 2.59 MB / 374.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1684/0.3053, allocations: 6.787 MB / 381 MB, free: 30.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3054, allocations: 0 / 381 MB, free: 30.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3054, allocations: 0 / 381 MB, free: 30.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003001/0.3057, allocations: 7.25 kB / 381 MB, free: 30.44 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01188/0.3176, allocations: 6.608 MB / 387.6 MB, free: 26.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3176, allocations: 9.594 kB / 387.6 MB, free: 26.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.3195, allocations: 0.8495 MB / 388.5 MB, free: 26.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.324, allocations: 3.157 MB / 391.6 MB, free: 24.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3242, allocations: 158.1 kB / 391.8 MB, free: 24.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.3245, allocations: 203.6 kB / 392 MB, free: 24.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004561/0.3291, allocations: 2.138 MB / 394.1 MB, free: 24.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.3292, allocations: 1.469 kB / 394.1 MB, free: 24.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.3294, allocations: 87.88 kB / 394.2 MB, free: 24.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.3294, allocations: 52.38 kB / 394.3 MB, free: 24.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.3333, allocations: 1.947 MB / 396.2 MB, free: 24.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.3462, allocations: 8.988 MB / 405.2 MB, free: 21.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.3494, allocations: 2.343 MB / 407.5 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.3517, allocations: 1.38 MB / 408.9 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3518, allocations: 45.89 kB / 409 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.3537, allocations: 1.185 MB / 410.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 4.618e-06/0.3537, allocations: 3.984 kB / 410.2 MB, free: 18.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.05985/0.4136, allocations: 23.08 MB / 433.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03021/0.4438, allocations: 13.23 MB / 446.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/0.4619, allocations: 14.9 MB / 461.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007053/0.4627, allocations: 89.7 kB / 461.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.466, allocations: 3.723 MB / 465.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.4674, allocations: 1.211 MB / 466.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.4679, allocations: 264.8 kB / 466.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.4679, allocations: 309.2 kB / 466.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.4706, allocations: 1.268 MB / 468.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.4733, allocations: 1.645 MB / 469.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005324/0.4787, allocations: 3.038 MB / 472.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4787, allocations: 0 / 472.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0115/0.4902, allocations: 5.249 MB / 478.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.4903, allocations: 8 kB / 478.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.4903, allocations: 4 kB / 478.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005563/0.4959, allocations: 1.399 MB / 479.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.4986, allocations: 0.5532 MB / 480.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02695/0.5255, allocations: 21.94 MB / 0.4903 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.5293, allocations: 139.9 kB / 0.4904 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.5295, allocations: 123.5 kB / 0.4905 GB, free: 6.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,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 (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.003445/0.533, allocations: 2.187 MB / 0.4927 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.5341, allocations: 0.8175 MB / 0.4935 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.5453, allocations: 5.271 MB / 0.4986 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/0.5454, allocations: 36 kB / 0.4986 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.5454, allocations: 4 kB / 0.4986 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.5455, allocations: 15.94 kB / 0.4987 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/0.5656, allocations: 11.13 MB / 0.5095 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.5656, allocations: 6.719 kB / 0.5095 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/0.568, allocations: 471.7 kB / 0.51 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/0.5733, allocations: 1.345 MB / 0.5113 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.5736, allocations: 75.97 kB / 0.5114 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2051/0.7787, allocations: 20.04 MB / 0.5309 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02563/0.8044, allocations: 11.59 MB / 0.5423 GB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.8187, allocations: 7.011 MB / 0.5491 GB, free: 135.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.8202, allocations: 0.7561 MB / 0.5498 GB, free: 134.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/0.8209, allocations: 64.44 kB / 0.5499 GB, free: 134.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.8231, allocations: 126.4 kB / 0.55 GB, free: 134.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/0.8238, allocations: 277.1 kB / 0.5503 GB, free: 134.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.824, allocations: 95.98 kB / 0.5504 GB, free: 134.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.009539/0.8336, allocations: 11.12 MB / 0.5612 GB, free: 128.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8336, allocations: 4 kB / 0.5612 GB, free: 128.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004249/0.8379, allocations: 1.078 MB / 0.5623 GB, free: 127.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/0.8391, allocations: 0.4914 MB / 0.5628 GB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00725/0.8463, allocations: 4.848 MB / 0.5675 GB, free: 122.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.8464, allocations: 0 / 0.5675 GB, free: 122.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/0.8508, allocations: 3.3 MB / 0.5707 GB, free: 119.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/0.8559, allocations: 0.5256 MB / 0.5712 GB, free: 119 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.8778, allocations: 20.38 MB / 0.5911 GB, free: 98.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.881, allocations: 4.014 MB / 0.5951 GB, free: 94.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002012/0.8831, allocations: 306.6 kB / 0.5954 GB, free: 94.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.8837, allocations: 167.4 kB / 0.5955 GB, free: 94.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8837, allocations: 0 / 0.5955 GB, free: 94.28 MB / 430.1 MB Notification: Performance of Templates: time 0.08986/0.9736, allocations: 61.4 MB / 0.6555 GB, free: 32.79 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches