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.001496/0.001496, allocations: 111.8 kB / 17.28 MB, free: 6.199 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.001037/0.001037, allocations: 185.3 kB / 18.2 MB, free: 5.277 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.491/1.491, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001909/0.001909, allocations: 55.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01909/0.1554, allocations: 10.87 MB / 337.7 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.166, allocations: 3.507 MB / 341.2 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.1689, allocations: 39.88 kB / 341.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0127/0.1817, allocations: 8.036 MB / 349.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.1926, allocations: 4.509 MB / 353.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.1964, allocations: 0.8312 MB / 354.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.2065, allocations: 5.297 MB / 359.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2089, allocations: 0.8906 MB / 360.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.2152, allocations: 2.876 MB / 363.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009497/0.2248, allocations: 5.295 MB / 368.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.2261, allocations: 348 kB / 369.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2273, allocations: 392 kB / 369.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002203/0.2296, allocations: 1.954 MB / 371.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.2335, allocations: 2.788 MB / 374.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1863/0.4199, allocations: 7.142 MB / 381.5 MB, free: 34.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4199, allocations: 1.656 kB / 381.5 MB, free: 34.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.42, allocations: 1.969 kB / 381.6 MB, free: 34.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002406/0.4202, allocations: 1.375 kB / 381.6 MB, free: 34.97 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.012/0.4322, allocations: 7.644 MB / 389.2 MB, free: 31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4323, allocations: 11.31 kB / 389.2 MB, free: 31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.4334, allocations: 0.8463 MB / 390.1 MB, free: 30.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.4367, allocations: 3.153 MB / 393.2 MB, free: 29.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4369, allocations: 157.2 kB / 393.4 MB, free: 29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.4372, allocations: 205.2 kB / 393.6 MB, free: 29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.4409, allocations: 2.119 MB / 395.7 MB, free: 28.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.4409, allocations: 3.359 kB / 395.7 MB, free: 28.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.4411, allocations: 83.53 kB / 395.8 MB, free: 28.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.4412, allocations: 51.19 kB / 395.8 MB, free: 28.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.4445, allocations: 1.898 MB / 397.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.4611, allocations: 8.949 MB / 406.7 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.4642, allocations: 2.326 MB / 409 MB, free: 21.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.4665, allocations: 1.385 MB / 410.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.4667, allocations: 38.53 kB / 410.4 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00216/0.4689, allocations: 1.165 MB / 411.6 MB, free: 19.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 7.354e-06/0.4689, allocations: 0 / 411.6 MB, free: 19.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.06269/0.5316, allocations: 22.81 MB / 434.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02896/0.5606, allocations: 13.64 MB / 448 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/0.5787, allocations: 14.89 MB / 462.9 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007224/0.5795, allocations: 89.62 kB / 463 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/0.5826, allocations: 3.728 MB / 466.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.5841, allocations: 1.206 MB / 467.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.5852, allocations: 0.5213 MB / 468.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.5853, allocations: 305.1 kB / 468.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.5879, allocations: 1.248 MB / 470 MB, free: 8.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.5906, allocations: 1.629 MB / 471.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.5961, allocations: 2.987 MB / 474.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.5961, allocations: 4 kB / 474.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01219/0.6083, allocations: 5.201 MB / 479.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.6084, allocations: 4 kB / 479.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.6084, allocations: 11.98 kB / 479.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005423/0.6138, allocations: 1.395 MB / 481.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.6167, allocations: 0.5403 MB / 481.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02792/0.6446, allocations: 23.98 MB / 0.4939 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/0.6483, allocations: 139.8 kB / 0.494 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004985/0.6488, allocations: 112.4 kB / 0.4941 GB, free: 3.73 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.003259/0.6521, allocations: 2.181 MB / 0.4963 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/0.6534, allocations: 0.8136 MB / 0.4971 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.6648, allocations: 5.219 MB / 0.5022 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.6649, allocations: 36 kB / 0.5022 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.6649, allocations: 12 kB / 0.5022 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.503e-05/0.665, allocations: 19.92 kB / 0.5022 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/0.6857, allocations: 11.08 MB / 0.513 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.6858, allocations: 4 kB / 0.5131 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/0.6883, allocations: 461.7 kB / 0.5135 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/0.6939, allocations: 1.349 MB / 0.5148 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004047/0.6944, allocations: 75.97 kB / 0.5149 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2059/0.9003, allocations: 21.86 MB / 0.5362 GB, free: 143.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0238/0.9241, allocations: 11.94 MB / 0.5479 GB, free: 137.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.9372, allocations: 6.938 MB / 0.5547 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.9389, allocations: 0.7527 MB / 0.5554 GB, free: 134.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006855/0.9396, allocations: 66.31 kB / 0.5555 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/0.9418, allocations: 110.9 kB / 0.5556 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007643/0.9426, allocations: 277.3 kB / 0.5558 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/0.9428, allocations: 94.47 kB / 0.5559 GB, free: 134 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.009044/0.9519, allocations: 11.12 MB / 0.5668 GB, free: 126.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9519, allocations: 0 / 0.5668 GB, free: 126.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004588/0.9565, allocations: 1.078 MB / 0.5678 GB, free: 125 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.001232/0.9577, allocations: 0.4935 MB / 0.5683 GB, free: 124.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.9681, allocations: 4.925 MB / 0.5731 GB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9682, allocations: 3.625 kB / 0.5731 GB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.9727, allocations: 3.283 MB / 0.5763 GB, free: 116.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/0.9766, allocations: 0.5577 MB / 0.5769 GB, free: 115.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.9979, allocations: 20.21 MB / 0.5966 GB, free: 95.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.001, allocations: 4.006 MB / 0.6005 GB, free: 91.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002147/1.003, allocations: 306.5 kB / 0.6008 GB, free: 91.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/1.004, allocations: 175.4 kB / 0.601 GB, free: 90.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/1.004, allocations: 0 / 0.601 GB, free: 90.98 MB / 430.1 MB Notification: Performance of Templates: time 0.1653/1.169, allocations: 65.29 MB / 0.6647 GB, free: 25.59 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