Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 178.4 kB / 8.698 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.628/1.628, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0008224/0.0008224, allocations: 82.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.121e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08077/0.0808, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4138, allocations: 91.58 MB / 454.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.4142, allocations: 83.69 kB / 454.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1553/0.5695, allocations: 49.58 MB / 0.4925 GB, free: 8.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5695, allocations: 0 / 0.4925 GB, free: 8.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.5697, allocations: 52 kB / 0.4925 GB, free: 8.258 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005186/0.5749, allocations: 2.299 MB / 0.4948 GB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5749, allocations: 16.03 kB / 0.4948 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.5757, allocations: 292.4 kB / 0.4951 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.5789, allocations: 1.333 MB / 0.4964 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.579, allocations: 72 kB / 0.4965 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.5792, allocations: 124 kB / 0.4966 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00564/0.5849, allocations: 1.656 MB / 0.4982 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005507/0.5905, allocations: 1.491 MB / 0.4996 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.007e-05/0.5906, allocations: 3.984 kB / 0.4997 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.5908, allocations: 0 / 0.4997 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.5909, allocations: 55.95 kB / 0.4997 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.6132, allocations: 7.273 MB / 0.5068 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/0.6187, allocations: 2.122 MB / 0.5089 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.6226, allocations: 1.216 MB / 0.5101 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.6228, allocations: 37.95 kB / 0.5101 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.6229, allocations: 72.45 kB / 0.5102 GB, free: 5.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=240): time 8.476e-06/0.6229, allocations: 0 / 0.5102 GB, free: 5.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=372): time 0.06094/0.6839, allocations: 12.48 MB / 0.5224 GB, free: 9.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.684, allocations: 90.81 kB / 0.5224 GB, free: 9.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.6882, allocations: 1.494 MB / 0.5239 GB, free: 7.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008048/0.6891, allocations: 29.7 kB / 0.5239 GB, free: 7.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.6902, allocations: 0.9616 MB / 0.5249 GB, free: 6.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.6921, allocations: 1.17 MB / 0.526 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.6924, allocations: 0 / 0.526 GB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.6927, allocations: 437.1 kB / 0.5264 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/0.6964, allocations: 1.186 MB / 0.5276 GB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/0.7005, allocations: 1.455 MB / 0.529 GB, free: 2.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/0.7048, allocations: 1.363 MB / 0.5303 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.7048, allocations: 0 / 0.5303 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.2837/0.9885, allocations: 4.255 MB / 0.5345 GB, free: 109.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.9885, allocations: 6.844 kB / 0.5345 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.9886, allocations: 4 kB / 0.5345 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006372/0.995, allocations: 1.299 MB / 0.5358 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/0.9994, allocations: 0.5841 MB / 0.5363 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/1.03, allocations: 18.51 MB / 0.5544 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/1.034, allocations: 107.6 kB / 0.5545 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.036, allocations: 118.5 kB / 0.5546 GB, free: 100.1 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: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.00094/1.037, allocations: 149.5 kB / 0.5548 GB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.038, allocations: 254.9 kB / 0.555 GB, free: 99.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.048, allocations: 4.254 MB / 0.5592 GB, free: 98.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00847/1.057, allocations: 3.767 MB / 0.5629 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.057, allocations: 3.875 kB / 0.5629 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/1.057, allocations: 18.42 kB / 0.5629 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.073, allocations: 9.16 MB / 0.5718 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.073, allocations: 3.625 kB / 0.5718 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.075, allocations: 0.4949 MB / 0.5723 GB, free: 93.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/1.08, allocations: 1.361 MB / 0.5736 GB, free: 92.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005165/1.081, allocations: 31.52 kB / 0.5737 GB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/1.099, allocations: 17.09 MB / 0.5904 GB, free: 80.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05093/1.15, allocations: 26.49 MB / 0.6162 GB, free: 59.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.162, allocations: 6.349 MB / 0.6224 GB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.164, allocations: 0.6941 MB / 0.6231 GB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/1.164, allocations: 4 kB / 0.6231 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.166, allocations: 105.4 kB / 0.6232 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/1.167, allocations: 278.8 kB / 0.6235 GB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.167, allocations: 105.2 kB / 0.6236 GB, free: 52.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001409/1.169, allocations: 1.138 MB / 0.6247 GB, free: 51.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.169, allocations: 0 / 0.6247 GB, free: 51.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003614/1.172, allocations: 0.9113 MB / 0.6256 GB, free: 50.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/1.173, allocations: 350.5 kB / 0.6259 GB, free: 50.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006699/1.18, allocations: 4.281 MB / 0.6301 GB, free: 46.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.18, allocations: 0 / 0.6301 GB, free: 46.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004241/1.185, allocations: 2.962 MB / 0.633 GB, free: 43.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.187, allocations: 243.1 kB / 0.6332 GB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.197, allocations: 5.761 MB / 0.6388 GB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.198, allocations: 1.836 MB / 0.6406 GB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002248/1.2, allocations: 321 kB / 0.6409 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/1.201, allocations: 180.2 kB / 0.6411 GB, free: 36.28 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/1.201, allocations: 0 / 0.6411 GB, free: 36.28 MB / 410.7 MB Notification: Performance of Templates: time 0.3082/1.509, allocations: 61.32 MB / 0.701 GB, free: 115 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches