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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 100.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.256, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.3673, allocations: 92.49 MB / 468.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.3676, allocations: 91.94 kB / 468.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4197/0.7874, allocations: 78.09 MB / 0.5337 GB, free: 81.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.7874, allocations: 4 kB / 0.5337 GB, free: 81.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001054/0.7885, allocations: 116 kB / 0.5338 GB, free: 81.25 MB / 378.7 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.01752/0.806, allocations: 6.932 MB / 0.5405 GB, free: 74.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.8061, allocations: 12.03 kB / 0.5406 GB, free: 74.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.809, allocations: 0.8566 MB / 0.5414 GB, free: 73.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.821, allocations: 3.637 MB / 0.5449 GB, free: 69.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.8212, allocations: 160.1 kB / 0.5451 GB, free: 69.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008037/0.822, allocations: 207.9 kB / 0.5453 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.827, allocations: 2.127 MB / 0.5474 GB, free: 67.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.8271, allocations: 12 kB / 0.5474 GB, free: 67.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.8273, allocations: 80 kB / 0.5475 GB, free: 67.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.8273, allocations: 52 kB / 0.5475 GB, free: 67.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.8309, allocations: 1.989 MB / 0.5495 GB, free: 65.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.8526, allocations: 10.13 MB / 0.5594 GB, free: 54.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.8567, allocations: 2.414 MB / 0.5617 GB, free: 52.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.8569, allocations: 35.97 kB / 0.5617 GB, free: 52.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.859, allocations: 1.212 MB / 0.5629 GB, free: 51.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 5.26e-06/0.859, allocations: 0 / 0.5629 GB, free: 51.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=385): time 0.06415/0.9232, allocations: 21.62 MB / 0.584 GB, free: 29.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09969/1.023, allocations: 34.5 MB / 0.6177 GB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1345/1.157, allocations: 13.47 MB / 0.6309 GB, free: 12.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.159, allocations: 93.7 kB / 0.631 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008076/1.167, allocations: 3.721 MB / 0.6346 GB, free: 8.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002175/1.169, allocations: 1.271 MB / 0.6358 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007605/1.17, allocations: 68 kB / 0.6359 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/1.17, allocations: 437.4 kB / 0.6363 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/1.174, allocations: 1.362 MB / 0.6377 GB, free: 5.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/1.178, allocations: 1.705 MB / 0.6393 GB, free: 3.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/1.182, allocations: 1.562 MB / 0.6408 GB, free: 2.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.182, allocations: 0 / 0.6408 GB, free: 2.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.2925/1.474, allocations: 5.467 MB / 0.6462 GB, free: 105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/1.474, allocations: 4 kB / 0.6462 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.475, allocations: 5.219 kB / 0.6462 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/1.481, allocations: 1.458 MB / 0.6476 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/1.484, allocations: 0.5688 MB / 0.6482 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/1.513, allocations: 22.66 MB / 0.6703 GB, free: 91.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.519, allocations: 194.9 kB / 0.6705 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008212/1.52, allocations: 118.3 kB / 0.6706 GB, free: 91.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 309 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 54} Notification: Performance of prepare postOptimizeDAE: time 0.006181/1.526, allocations: 2.2 MB / 0.6728 GB, free: 90.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004108/1.53, allocations: 0.8593 MB / 0.6736 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.546, allocations: 5.632 MB / 0.6791 GB, free: 88.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005409/1.551, allocations: 2.473 MB / 0.6815 GB, free: 87.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.767e-05/1.551, allocations: 8.25 kB / 0.6815 GB, free: 87.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.527e-05/1.551, allocations: 17.58 kB / 0.6815 GB, free: 87.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.587, allocations: 14.2 MB / 0.6954 GB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/1.587, allocations: 3.094 kB / 0.6954 GB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.59, allocations: 491.6 kB / 0.6959 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005976/1.596, allocations: 1.478 MB / 0.6973 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008519/1.597, allocations: 79.27 kB / 0.6974 GB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/1.62, allocations: 20.85 MB / 0.7178 GB, free: 58.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08097/1.701, allocations: 30.51 MB / 0.7475 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/1.719, allocations: 8.056 MB / 0.7554 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005357/1.724, allocations: 1.594 MB / 0.757 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002435/1.727, allocations: 87.94 kB / 0.757 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/1.731, allocations: 181.1 kB / 0.7572 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.732, allocations: 287.2 kB / 0.7575 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.732, allocations: 104 kB / 0.7576 GB, free: 20.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.02202/1.754, allocations: 10.87 MB / 0.7682 GB, free: 9.535 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.754, allocations: 4 kB / 0.7682 GB, free: 9.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008358/1.763, allocations: 1.758 MB / 0.7699 GB, free: 7.781 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,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.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 55,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/1.765, allocations: 0.5181 MB / 0.7704 GB, free: 7.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009307/1.774, allocations: 5.083 MB / 0.7754 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.774, allocations: 0 / 0.7754 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006085/1.78, allocations: 3.523 MB / 0.7788 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/1.786, allocations: 0.4976 MB / 0.7793 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04703/1.833, allocations: 21.92 MB / 0.8007 GB, free: 8.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008155/1.841, allocations: 4.214 MB / 0.8049 GB, free: 3.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004349/1.845, allocations: 0.8413 MB / 0.8057 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.847, allocations: 350.4 kB / 0.806 GB, free: 2.672 MB / 442.7 MB Notification: Performance of SimCode: time 1.472e-06/1.847, allocations: 0 / 0.806 GB, free: 2.672 MB / 442.7 MB Notification: Performance of Templates: time 0.5806/2.428, allocations: 89.07 MB / 0.893 GB, free: 71.32 MB / 442.7 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