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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 188.5 kB / 8.483 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.2 MB / 214.1 MB, free: 13.76 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.0008883/0.0008883, allocations: 93.42 kB / 262.1 MB, free: 13.36 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.185e-06, allocations: 8 kB / 315 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 47.55 MB / 362.5 MB, free: 45.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09396/0.2704, allocations: 91.66 MB / 454.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.2707, allocations: 86.39 kB / 454.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3312/0.6019, allocations: 76.6 MB / 0.5185 GB, free: 101.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007803/0.6027, allocations: 121.5 kB / 0.5186 GB, free: 101.5 MB / 394.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.009793/0.6125, allocations: 5.567 MB / 0.524 GB, free: 98.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6126, allocations: 13.38 kB / 0.524 GB, free: 98.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.6142, allocations: 0.851 MB / 0.5248 GB, free: 98.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007328/0.6215, allocations: 3.548 MB / 0.5283 GB, free: 97.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.6216, allocations: 73.25 kB / 0.5284 GB, free: 97.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.622, allocations: 127.6 kB / 0.5285 GB, free: 97.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003231/0.6252, allocations: 1.675 MB / 0.5301 GB, free: 96.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.6283, allocations: 1.723 MB / 0.5318 GB, free: 96.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.692e-05/0.6283, allocations: 10.73 kB / 0.5318 GB, free: 96.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.6285, allocations: 1.438 kB / 0.5318 GB, free: 96.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.6285, allocations: 50.12 kB / 0.5319 GB, free: 96.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.6464, allocations: 9.764 MB / 0.5414 GB, free: 92.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.649, allocations: 1.322 MB / 0.5427 GB, free: 92.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.6512, allocations: 1.177 MB / 0.5439 GB, free: 91.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.6513, allocations: 38.97 kB / 0.5439 GB, free: 91.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.653, allocations: 1.024 MB / 0.5449 GB, free: 91.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 4.799e-06/0.653, allocations: 7.938 kB / 0.5449 GB, free: 91.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=382): time 0.03956/0.6926, allocations: 16.14 MB / 0.5607 GB, free: 77.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.6927, allocations: 275.9 kB / 0.5609 GB, free: 77.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1219/0.8146, allocations: 12.88 MB / 0.5735 GB, free: 65.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/0.8152, allocations: 33.64 kB / 0.5735 GB, free: 65.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.8164, allocations: 1.444 MB / 0.575 GB, free: 63.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/0.8174, allocations: 1.2 MB / 0.5761 GB, free: 62.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.8176, allocations: 1.875 kB / 0.5761 GB, free: 62.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8177, allocations: 437.3 kB / 0.5765 GB, free: 62.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.8196, allocations: 1.179 MB / 0.5777 GB, free: 61.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.8216, allocations: 1.484 MB / 0.5791 GB, free: 59.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.8238, allocations: 1.371 MB / 0.5805 GB, free: 58.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.8238, allocations: 0 / 0.5805 GB, free: 58.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.01704/0.8408, allocations: 4.907 MB / 0.5853 GB, free: 53.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.8409, allocations: 8 kB / 0.5853 GB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.8409, allocations: 4 kB / 0.5853 GB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009084/0.85, allocations: 1.427 MB / 0.5867 GB, free: 51.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004973/0.8551, allocations: 0.5734 MB / 0.5872 GB, free: 51.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03602/0.8911, allocations: 21.24 MB / 0.608 GB, free: 29.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/0.8975, allocations: 96.62 kB / 0.6081 GB, free: 28.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/0.8982, allocations: 116 kB / 0.6082 GB, free: 28.81 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference of ports" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * 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%) 4,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {3 42,3 55} Notification: Performance of prepare postOptimizeDAE: time 0.0006044/0.8988, allocations: 156.4 kB / 0.6083 GB, free: 28.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/0.9005, allocations: 0.8173 MB / 0.6091 GB, free: 27.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.9114, allocations: 4.952 MB / 0.614 GB, free: 22.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.9115, allocations: 39.91 kB / 0.614 GB, free: 22.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.9115, allocations: 11.98 kB / 0.614 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-05/0.9115, allocations: 15.94 kB / 0.614 GB, free: 22.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/0.936, allocations: 12.93 MB / 0.6266 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.9361, allocations: 4.281 kB / 0.6267 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.9389, allocations: 0.5032 MB / 0.6271 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005072/0.944, allocations: 1.303 MB / 0.6284 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/0.9443, allocations: 31.95 kB / 0.6284 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.9655, allocations: 19.04 MB / 0.647 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1286/1.094, allocations: 11.7 MB / 0.6585 GB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01267/1.107, allocations: 7.339 MB / 0.6656 GB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.11, allocations: 1.591 MB / 0.6672 GB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.111, allocations: 10.94 kB / 0.6672 GB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.113, allocations: 90.97 kB / 0.6673 GB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/1.114, allocations: 198.8 kB / 0.6675 GB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.114, allocations: 104.2 kB / 0.6676 GB, free: 137.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0116/1.126, allocations: 10.29 MB / 0.6776 GB, free: 136.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004365/1.13, allocations: 1.437 MB / 0.679 GB, free: 136.3 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.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi,$STATESET140241162471831.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 259 * 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%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {3 47,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/1.131, allocations: 365.8 kB / 0.6794 GB, free: 136.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005836/1.137, allocations: 4.268 MB / 0.6835 GB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.137, allocations: 7.906 kB / 0.6835 GB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004067/1.141, allocations: 2.885 MB / 0.6864 GB, free: 132.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.144, allocations: 406.9 kB / 0.6867 GB, free: 132.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02964/1.174, allocations: 16.7 MB / 0.7031 GB, free: 122.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005821/1.179, allocations: 4.523 MB / 0.7075 GB, free: 119.3 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/1.179, allocations: 0 / 0.7075 GB, free: 119.3 MB / 410.7 MB Notification: Performance of Templates: time 0.3082/1.488, allocations: 84.66 MB / 0.7902 GB, free: 41.79 MB / 410.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