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.001051/0.001051, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007867/0.0007867, allocations: 86.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.643e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.0831, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3753, allocations: 91.96 MB / 455 MB, free: 3.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3756, allocations: 84.52 kB / 455.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2377/0.6133, allocations: 77.3 MB / 0.5199 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6134, allocations: 0 / 0.5199 GB, free: 11.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007431/0.6141, allocations: 112 kB / 0.52 GB, free: 11.21 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.01233/0.6265, allocations: 5.536 MB / 0.5255 GB, free: 5.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6265, allocations: 12.03 kB / 0.5255 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.6288, allocations: 0.8602 MB / 0.5263 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008357/0.6371, allocations: 3.597 MB / 0.5298 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.95e-05/0.6373, allocations: 68 kB / 0.5299 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003955/0.6377, allocations: 119.9 kB / 0.53 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2119/0.8496, allocations: 1.68 MB / 0.5316 GB, free: 98.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/0.854, allocations: 1.73 MB / 0.5333 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.213e-05/0.8541, allocations: 4.969 kB / 0.5333 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.8543, allocations: 1.062 kB / 0.5333 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.8543, allocations: 51.3 kB / 0.5334 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.875, allocations: 9.733 MB / 0.5429 GB, free: 96.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.8788, allocations: 2.184 MB / 0.545 GB, free: 96.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.881, allocations: 1.242 MB / 0.5462 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.8812, allocations: 39.39 kB / 0.5463 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.8829, allocations: 1.036 MB / 0.5473 GB, free: 95.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 4.188e-06/0.8829, allocations: 0 / 0.5473 GB, free: 95.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.04986/0.9327, allocations: 16.56 MB / 0.5635 GB, free: 89.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.9329, allocations: 280.4 kB / 0.5637 GB, free: 89.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1292/1.062, allocations: 12.89 MB / 0.5763 GB, free: 85.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006475/1.063, allocations: 25.7 kB / 0.5763 GB, free: 85.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/1.067, allocations: 3.48 MB / 0.5797 GB, free: 82.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.069, allocations: 1.211 MB / 0.5809 GB, free: 81.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/1.069, allocations: 2.656 kB / 0.5809 GB, free: 81.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/1.069, allocations: 438.2 kB / 0.5813 GB, free: 81.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.071, allocations: 1.207 MB / 0.5825 GB, free: 80.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/1.074, allocations: 1.529 MB / 0.584 GB, free: 80.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/1.076, allocations: 1.401 MB / 0.5854 GB, free: 79.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/1.076, allocations: 3.281 kB / 0.5854 GB, free: 79.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01009/1.086, allocations: 4.978 MB / 0.5902 GB, free: 77.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.086, allocations: 14.3 kB / 0.5903 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.086, allocations: 3.531 kB / 0.5903 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/1.091, allocations: 1.366 MB / 0.5916 GB, free: 77.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/1.094, allocations: 0.5746 MB / 0.5922 GB, free: 76.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02289/1.117, allocations: 21.41 MB / 0.6131 GB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/1.121, allocations: 126.3 kB / 0.6132 GB, free: 55.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/1.122, allocations: 122.9 kB / 0.6133 GB, free: 55.76 MB / 410.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 (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 {3 42,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0008277/1.123, allocations: 159.2 kB / 0.6135 GB, free: 55.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.124, allocations: 0.859 MB / 0.6143 GB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.135, allocations: 5.114 MB / 0.6193 GB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004372/1.139, allocations: 2.229 MB / 0.6215 GB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.139, allocations: 4 kB / 0.6215 GB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/1.14, allocations: 24.39 kB / 0.6215 GB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/1.167, allocations: 13.45 MB / 0.6346 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.167, allocations: 4 kB / 0.6346 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.17, allocations: 0.491 MB / 0.6351 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/1.175, allocations: 1.417 MB / 0.6365 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004784/1.176, allocations: 28.42 kB / 0.6365 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/1.194, allocations: 19.66 MB / 0.6557 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05219/1.247, allocations: 26.44 MB / 0.6815 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.261, allocations: 7.534 MB / 0.6889 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2018/1.463, allocations: 1.583 MB / 0.6905 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.465, allocations: 26.31 kB / 0.6905 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.468, allocations: 109.6 kB / 0.6906 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008409/1.469, allocations: 289.3 kB / 0.6909 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.469, allocations: 105.7 kB / 0.691 GB, free: 98.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01987/1.489, allocations: 10.29 MB / 0.701 GB, free: 98.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.489, allocations: 3.312 kB / 0.701 GB, free: 98.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007797/1.496, allocations: 1.595 MB / 0.7026 GB, free: 98.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET6.x[2],$STATESET6.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET5.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.001398/1.498, allocations: 400.3 kB / 0.7029 GB, free: 98.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006809/1.505, allocations: 4.599 MB / 0.7074 GB, free: 97.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.505, allocations: 3.906 kB / 0.7074 GB, free: 97.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004832/1.51, allocations: 3.209 MB / 0.7106 GB, free: 96.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.514, allocations: 416 kB / 0.711 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.542, allocations: 17.27 MB / 0.7278 GB, free: 93.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/1.546, allocations: 4.206 MB / 0.7319 GB, free: 92.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002995/1.549, allocations: 0.8332 MB / 0.7328 GB, free: 92.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.551, allocations: 361.4 kB / 0.7331 GB, free: 92.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.551, allocations: 3.938 kB / 0.7331 GB, free: 92.25 MB / 426.7 MB Notification: Performance of Templates: time 0.2911/1.842, allocations: 82.43 MB / 0.8136 GB, free: 26.71 MB / 426.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