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.0009669/0.0009669, allocations: 183 kB / 18.04 MB, free: 3.781 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.292/1.292, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007801/0.0007801, allocations: 87.86 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 8 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 47.59 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09733/0.2997, allocations: 92.58 MB / 469.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3, allocations: 87.95 kB / 469.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3393/0.6393, allocations: 78.11 MB / 0.535 GB, free: 81.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6394, allocations: 0 / 0.535 GB, free: 81.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007579/0.6401, allocations: 115.8 kB / 0.5351 GB, free: 80.98 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.01205/0.6522, allocations: 6.847 MB / 0.5418 GB, free: 74.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6522, allocations: 12.02 kB / 0.5418 GB, free: 74.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.654, allocations: 0.8611 MB / 0.5426 GB, free: 73.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/0.6618, allocations: 4.005 MB / 0.5465 GB, free: 69.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.662, allocations: 156.5 kB / 0.5467 GB, free: 69.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.6625, allocations: 212.3 kB / 0.5469 GB, free: 68.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.6668, allocations: 2.151 MB / 0.549 GB, free: 66.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/0.6668, allocations: 8.188 kB / 0.549 GB, free: 66.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.6671, allocations: 83.94 kB / 0.5491 GB, free: 66.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.6671, allocations: 52 kB / 0.5491 GB, free: 66.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.6709, allocations: 1.993 MB / 0.5511 GB, free: 64.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.6885, allocations: 10.14 MB / 0.561 GB, free: 54.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.6923, allocations: 2.408 MB / 0.5633 GB, free: 51.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.6949, allocations: 1.404 MB / 0.5647 GB, free: 50.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.695, allocations: 49.34 kB / 0.5647 GB, free: 50.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/0.697, allocations: 1.199 MB / 0.5659 GB, free: 49.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 5.621e-06/0.6971, allocations: 0 / 0.5659 GB, free: 49.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=378): time 0.05379/0.7509, allocations: 20.91 MB / 0.5863 GB, free: 27.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02721/0.7781, allocations: 13.15 MB / 0.5992 GB, free: 14.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.127/0.9052, allocations: 14.57 MB / 0.6134 GB, free: 15.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006003/0.9058, allocations: 89.7 kB / 0.6135 GB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003907/0.9097, allocations: 3.719 MB / 0.6171 GB, free: 12.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.9111, allocations: 1.251 MB / 0.6183 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.9113, allocations: 68 kB / 0.6184 GB, free: 10.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.9115, allocations: 433.2 kB / 0.6188 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/0.9142, allocations: 1.307 MB / 0.6201 GB, free: 9.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.917, allocations: 1.664 MB / 0.6217 GB, free: 7.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005539/0.9226, allocations: 3.074 MB / 0.6247 GB, free: 4.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.9226, allocations: 4 kB / 0.6247 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01195/0.9346, allocations: 5.344 MB / 0.6299 GB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.9346, allocations: 8 kB / 0.6299 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.9346, allocations: 4 kB / 0.6299 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00559/0.9402, allocations: 1.436 MB / 0.6313 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.9432, allocations: 0.5617 MB / 0.6319 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/1.139, allocations: 22.1 MB / 0.6535 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.142, allocations: 187.4 kB / 0.6537 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.143, allocations: 114.9 kB / 0.6538 GB, free: 98.12 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.00445/1.147, allocations: 2.185 MB / 0.6559 GB, free: 98.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.149, allocations: 0.8499 MB / 0.6567 GB, free: 98.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.161, allocations: 5.48 MB / 0.6621 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.161, allocations: 37.97 kB / 0.6621 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.161, allocations: 6.703 kB / 0.6621 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.401e-05/1.161, allocations: 18.94 kB / 0.6621 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02464/1.186, allocations: 13.85 MB / 0.6757 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.186, allocations: 4.125 kB / 0.6757 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.188, allocations: 493 kB / 0.6762 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005001/1.193, allocations: 1.373 MB / 0.6775 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004222/1.194, allocations: 77.38 kB / 0.6776 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.214, allocations: 20.17 MB / 0.6973 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02308/1.237, allocations: 11.56 MB / 0.7086 GB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.252, allocations: 7.283 MB / 0.7157 GB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/1.255, allocations: 1.589 MB / 0.7172 GB, free: 58.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.257, allocations: 90.12 kB / 0.7173 GB, free: 58.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/1.26, allocations: 161.8 kB / 0.7175 GB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007478/1.261, allocations: 279.9 kB / 0.7177 GB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.261, allocations: 100.3 kB / 0.7178 GB, free: 58.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01647/1.277, allocations: 10.87 MB / 0.7284 GB, free: 48.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.277, allocations: 6.531 kB / 0.7284 GB, free: 48.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006231/1.284, allocations: 1.654 MB / 0.7301 GB, free: 47.12 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.001526/1.285, allocations: 0.517 MB / 0.7306 GB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008421/1.294, allocations: 4.942 MB / 0.7354 GB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.294, allocations: 4 kB / 0.7354 GB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/1.299, allocations: 3.399 MB / 0.7387 GB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008233/1.307, allocations: 0.5586 MB / 0.7393 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/1.337, allocations: 21.2 MB / 0.76 GB, free: 18.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005585/1.342, allocations: 4.022 MB / 0.7639 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003455/1.346, allocations: 0.828 MB / 0.7647 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.348, allocations: 346.4 kB / 0.765 GB, free: 13.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/1.348, allocations: 0 / 0.765 GB, free: 13.2 MB / 410.7 MB Notification: Performance of Templates: time 0.4591/1.807, allocations: 81.38 MB / 0.8445 GB, free: 118.3 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/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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches