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.000998/0.000998, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.518/1.518, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008186/0.0008188, allocations: 82.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.006e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07824, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.3627, allocations: 92.39 MB / 462.4 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.363, allocations: 83.75 kB / 462.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1966/0.5596, allocations: 78.12 MB / 0.5279 GB, free: 3.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5596, allocations: 0 / 0.5279 GB, free: 3.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000369/0.56, allocations: 108 kB / 0.528 GB, free: 3.098 MB / 410.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.2043/0.7643, allocations: 5.524 MB / 0.5334 GB, free: 94.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.7644, allocations: 12.81 kB / 0.5335 GB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.7674, allocations: 0.8652 MB / 0.5343 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.7781, allocations: 3.589 MB / 0.5378 GB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.7783, allocations: 163.5 kB / 0.538 GB, free: 92.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007137/0.779, allocations: 204.3 kB / 0.5382 GB, free: 92.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005032/0.7841, allocations: 2.02 MB / 0.5401 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.7842, allocations: 5.547 kB / 0.5401 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.7844, allocations: 83.56 kB / 0.5402 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.7844, allocations: 49.5 kB / 0.5403 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/0.7879, allocations: 1.785 MB / 0.542 GB, free: 92.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/0.8105, allocations: 10.13 MB / 0.5519 GB, free: 90.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.8139, allocations: 2.294 MB / 0.5541 GB, free: 90.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.8162, allocations: 1.311 MB / 0.5554 GB, free: 89.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.8164, allocations: 40.05 kB / 0.5554 GB, free: 89.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.8181, allocations: 1.111 MB / 0.5565 GB, free: 89.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 5.33e-06/0.8181, allocations: 0 / 0.5565 GB, free: 89.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.04992/0.8681, allocations: 19.13 MB / 0.5752 GB, free: 81.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06238/0.9305, allocations: 30.76 MB / 0.6052 GB, free: 60.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1261/1.057, allocations: 13.36 MB / 0.6183 GB, free: 48.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009218/1.058, allocations: 89.7 kB / 0.6184 GB, free: 48.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005443/1.063, allocations: 3.72 MB / 0.622 GB, free: 45.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.065, allocations: 1.264 MB / 0.6232 GB, free: 44.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.065, allocations: 70.72 kB / 0.6233 GB, free: 44.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/1.065, allocations: 438.5 kB / 0.6237 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.068, allocations: 1.273 MB / 0.625 GB, free: 42.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/1.071, allocations: 1.622 MB / 0.6266 GB, free: 40.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/1.074, allocations: 1.475 MB / 0.628 GB, free: 39.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.074, allocations: 0 / 0.628 GB, free: 39.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01231/1.086, allocations: 5.292 MB / 0.6332 GB, free: 34.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.086, allocations: 8 kB / 0.6332 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.086, allocations: 8 kB / 0.6332 GB, free: 34.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005553/1.092, allocations: 1.416 MB / 0.6346 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/1.095, allocations: 0.5789 MB / 0.6351 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/1.12, allocations: 22.24 MB / 0.6569 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.125, allocations: 204.3 kB / 0.6571 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/1.126, allocations: 126.1 kB / 0.6572 GB, free: 10.52 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (318): * Single equations (assignments): 307 * 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%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0009675/1.127, allocations: 282.6 kB / 0.6574 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002937/1.13, allocations: 0.8488 MB / 0.6583 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.143, allocations: 5.473 MB / 0.6636 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005215/1.148, allocations: 2.389 MB / 0.6659 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/1.148, allocations: 5.969 kB / 0.666 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-05/1.149, allocations: 18.19 kB / 0.666 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.177, allocations: 14.11 MB / 0.6798 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.177, allocations: 0 / 0.6798 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.18, allocations: 0.4957 MB / 0.6802 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005812/1.186, allocations: 1.441 MB / 0.6816 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006217/1.186, allocations: 79.95 kB / 0.6817 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2536/1.44, allocations: 20.35 MB / 0.7016 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05922/1.499, allocations: 27.19 MB / 0.7281 GB, free: 107.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.514, allocations: 7.864 MB / 0.7358 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004512/1.518, allocations: 1.599 MB / 0.7374 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002276/1.521, allocations: 85.94 kB / 0.7375 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00471/1.525, allocations: 171.5 kB / 0.7376 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.527, allocations: 286.5 kB / 0.7379 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/1.527, allocations: 106.6 kB / 0.738 GB, free: 103.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01916/1.546, allocations: 10.76 MB / 0.7485 GB, free: 99.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.546, allocations: 0 / 0.7485 GB, free: 99.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00686/1.553, allocations: 1.767 MB / 0.7502 GB, free: 99.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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) * 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 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/1.554, allocations: 489.8 kB / 0.7507 GB, free: 98.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007747/1.562, allocations: 4.869 MB / 0.7555 GB, free: 96.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.562, allocations: 3.406 kB / 0.7555 GB, free: 96.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006004/1.568, allocations: 3.386 MB / 0.7588 GB, free: 94.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/1.574, allocations: 0.4954 MB / 0.7593 GB, free: 93.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.606, allocations: 17.57 MB / 0.7764 GB, free: 82.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/1.611, allocations: 4.204 MB / 0.7805 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003235/1.614, allocations: 0.8402 MB / 0.7813 GB, free: 78.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.616, allocations: 366.5 kB / 0.7817 GB, free: 78.37 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/1.616, allocations: 0 / 0.7817 GB, free: 78.37 MB / 442.7 MB Notification: Performance of Templates: time 0.5347/2.15, allocations: 90.86 MB / 0.8704 GB, free: 110.9 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