Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001809/0.001809, allocations: 176.3 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.907/2.907, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0008764/0.0008764, allocations: 96.73 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 11.98 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4706, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.6681, allocations: 92.58 MB / 468.3 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005575/0.6688, allocations: 87.95 kB / 468.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7429/1.412, allocations: 78.11 MB / 0.5337 GB, free: 81.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.124e-06/1.412, allocations: 0 / 0.5337 GB, free: 81.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00177/1.414, allocations: 112 kB / 0.5338 GB, free: 81.01 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.02214/1.436, allocations: 6.85 MB / 0.5405 GB, free: 74.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.436, allocations: 8.031 kB / 0.5405 GB, free: 74.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/1.438, allocations: 0.8611 MB / 0.5413 GB, free: 73.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009948/1.448, allocations: 4.006 MB / 0.5452 GB, free: 69.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.449, allocations: 156.5 kB / 0.5454 GB, free: 69.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.45, allocations: 208.3 kB / 0.5456 GB, free: 68.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.461, allocations: 2.151 MB / 0.5477 GB, free: 66.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/1.461, allocations: 8.188 kB / 0.5477 GB, free: 66.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/1.461, allocations: 83.94 kB / 0.5478 GB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/1.461, allocations: 48 kB / 0.5478 GB, free: 66.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007946/1.469, allocations: 1.997 MB / 0.5498 GB, free: 64.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/1.508, allocations: 10.14 MB / 0.5597 GB, free: 54.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/1.516, allocations: 2.408 MB / 0.562 GB, free: 51.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004949/1.521, allocations: 1.403 MB / 0.5634 GB, free: 50.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/1.521, allocations: 38.67 kB / 0.5634 GB, free: 50.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004382/1.526, allocations: 1.203 MB / 0.5646 GB, free: 49.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 1.046e-05/1.526, allocations: 0 / 0.5646 GB, free: 49.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=378): time 0.1221/1.648, allocations: 20.92 MB / 0.585 GB, free: 27.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03525/1.683, allocations: 13.16 MB / 0.5979 GB, free: 14.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2405/1.924, allocations: 14.56 MB / 0.6121 GB, free: 15.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.925, allocations: 89.7 kB / 0.6122 GB, free: 15.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01068/1.936, allocations: 3.721 MB / 0.6158 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00308/1.939, allocations: 1.251 MB / 0.6171 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/1.939, allocations: 68 kB / 0.6171 GB, free: 10.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003711/1.94, allocations: 437.3 kB / 0.6175 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005695/1.945, allocations: 1.307 MB / 0.6188 GB, free: 9.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006488/1.952, allocations: 1.662 MB / 0.6204 GB, free: 7.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.965, allocations: 3.072 MB / 0.6234 GB, free: 4.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-05/1.965, allocations: 4 kB / 0.6234 GB, free: 4.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.03181/1.997, allocations: 5.347 MB / 0.6287 GB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/1.997, allocations: 8 kB / 0.6287 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/1.997, allocations: 4 kB / 0.6287 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/2.008, allocations: 1.429 MB / 0.6301 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006265/2.014, allocations: 0.5617 MB / 0.6306 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5192/2.533, allocations: 22.11 MB / 0.6522 GB, free: 97.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009321/2.543, allocations: 175.2 kB / 0.6524 GB, free: 97.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/2.545, allocations: 117 kB / 0.6525 GB, free: 97.91 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 (314): * Single equations (assignments): 305 * Array equations: 0 * 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%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.01145/2.556, allocations: 2.186 MB / 0.6546 GB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007948/2.564, allocations: 0.8574 MB / 0.6555 GB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02978/2.594, allocations: 5.473 MB / 0.6608 GB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.822e-05/2.594, allocations: 35.53 kB / 0.6608 GB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.926e-05/2.594, allocations: 11.25 kB / 0.6609 GB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001296/2.594, allocations: 18.23 kB / 0.6609 GB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06173/2.656, allocations: 13.86 MB / 0.6744 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.915e-05/2.656, allocations: 3.5 kB / 0.6744 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005427/2.662, allocations: 492.4 kB / 0.6749 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/2.673, allocations: 1.361 MB / 0.6762 GB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.675, allocations: 80.05 kB / 0.6763 GB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04117/2.716, allocations: 20.17 MB / 0.696 GB, free: 75.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04362/2.759, allocations: 11.57 MB / 0.7073 GB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02977/2.789, allocations: 7.275 MB / 0.7144 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008902/2.798, allocations: 1.594 MB / 0.7159 GB, free: 58.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005107/2.803, allocations: 87.23 kB / 0.716 GB, free: 58.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008208/2.812, allocations: 157.1 kB / 0.7162 GB, free: 58.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002045/2.814, allocations: 281.3 kB / 0.7164 GB, free: 58.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005954/2.814, allocations: 105.8 kB / 0.7165 GB, free: 58.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.03449/2.849, allocations: 10.87 MB / 0.7272 GB, free: 48.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.849, allocations: 0 / 0.7272 GB, free: 48.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01511/2.864, allocations: 1.664 MB / 0.7288 GB, free: 47.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * 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%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {3 50,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.003308/2.868, allocations: 0.5214 MB / 0.7293 GB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01339/2.881, allocations: 4.945 MB / 0.7341 GB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/2.881, allocations: 0 / 0.7341 GB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00848/2.89, allocations: 3.397 MB / 0.7374 GB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01431/2.904, allocations: 0.556 MB / 0.738 GB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/2.938, allocations: 21.55 MB / 0.759 GB, free: 18.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009004/2.947, allocations: 4.028 MB / 0.763 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005623/2.953, allocations: 376.4 kB / 0.7633 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/2.953, allocations: 4 kB / 0.7633 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 3.156/6.109, allocations: 0.5532 GB / 1.317 GB, free: 156.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches