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.001132/0.001132, allocations: 180.6 kB / 17.02 MB, free: 5.121 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.527/1.527, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008565/0.0008563, allocations: 94.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.253, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3604, allocations: 92.08 MB / 467.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.3608, allocations: 95.92 kB / 468 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3414/0.7022, allocations: 50.04 MB / 0.5059 GB, free: 95.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7023, allocations: 0 / 0.5059 GB, free: 95.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001751/0.7024, allocations: 56.81 kB / 0.5059 GB, free: 95.53 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.00769/0.7101, allocations: 2.609 MB / 0.5085 GB, free: 94.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.7102, allocations: 7.344 kB / 0.5085 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.7113, allocations: 286.8 kB / 0.5088 GB, free: 94.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.7144, allocations: 1.356 MB / 0.5101 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.7146, allocations: 164.7 kB / 0.5103 GB, free: 93.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.7148, allocations: 204.1 kB / 0.5104 GB, free: 93.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.7183, allocations: 1.912 MB / 0.5123 GB, free: 93.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.7183, allocations: 5.25 kB / 0.5123 GB, free: 93.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.7185, allocations: 82.25 kB / 0.5124 GB, free: 93.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.7185, allocations: 52.69 kB / 0.5124 GB, free: 93.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.7222, allocations: 2.005 MB / 0.5144 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.733, allocations: 7.606 MB / 0.5218 GB, free: 88.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.7361, allocations: 2.357 MB / 0.5241 GB, free: 87.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.7363, allocations: 44.67 kB / 0.5242 GB, free: 87.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.7363, allocations: 59.5 kB / 0.5242 GB, free: 87.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 5.531e-06/0.7363, allocations: 0 / 0.5242 GB, free: 87.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=375): time 0.06152/0.7979, allocations: 19.03 MB / 0.5428 GB, free: 71.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0955/0.8934, allocations: 34.5 MB / 0.5765 GB, free: 36.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.8966, allocations: 1.64 MB / 0.5781 GB, free: 35.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007222/0.8974, allocations: 85.7 kB / 0.5782 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.898, allocations: 0.9658 MB / 0.5791 GB, free: 33.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.8992, allocations: 1.243 MB / 0.5804 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/0.8996, allocations: 68 kB / 0.5804 GB, free: 32.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8998, allocations: 429.2 kB / 0.5808 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.9026, allocations: 1.358 MB / 0.5822 GB, free: 30.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.9054, allocations: 1.637 MB / 0.5837 GB, free: 29.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.9083, allocations: 1.537 MB / 0.5853 GB, free: 27.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.9083, allocations: 4 kB / 0.5853 GB, free: 27.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01069/0.919, allocations: 4.752 MB / 0.5899 GB, free: 22.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.919, allocations: 11.94 kB / 0.5899 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.9191, allocations: 4 kB / 0.5899 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005651/0.9247, allocations: 1.397 MB / 0.5913 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/0.928, allocations: 0.5811 MB / 0.5918 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/0.9532, allocations: 19.63 MB / 0.611 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.9568, allocations: 159.9 kB / 0.6112 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007477/0.9576, allocations: 120 kB / 0.6113 GB, free: 32 kB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.002197/0.9598, allocations: 0.5871 MB / 0.6118 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009696/0.9608, allocations: 272.8 kB / 0.6121 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.9746, allocations: 4.786 MB / 0.6168 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01063/0.9853, allocations: 4.205 MB / 0.6209 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/0.9854, allocations: 4 kB / 0.6209 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.951e-05/0.9854, allocations: 15.94 kB / 0.6209 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.006, allocations: 9.888 MB / 0.6306 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.006, allocations: 0 / 0.6306 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/1.009, allocations: 0.4993 MB / 0.6311 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006074/1.015, allocations: 1.406 MB / 0.6324 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005701/1.016, allocations: 75.97 kB / 0.6325 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2371/1.253, allocations: 18.15 MB / 0.6502 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09165/1.345, allocations: 30.63 MB / 0.6801 GB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.362, allocations: 6.951 MB / 0.6869 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.365, allocations: 0.6918 MB / 0.6876 GB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.366, allocations: 69.17 kB / 0.6877 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.369, allocations: 155.1 kB / 0.6878 GB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009169/1.37, allocations: 283.6 kB / 0.6881 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/1.37, allocations: 99.25 kB / 0.6882 GB, free: 92.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00252/1.373, allocations: 1.277 MB / 0.6894 GB, free: 91.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.373, allocations: 3.969 kB / 0.6894 GB, free: 91.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005215/1.378, allocations: 1.063 MB / 0.6905 GB, free: 90.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/1.379, allocations: 480.7 kB / 0.6909 GB, free: 90.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008592/1.388, allocations: 4.767 MB / 0.6956 GB, free: 86.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.388, allocations: 0 / 0.6956 GB, free: 86.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.394, allocations: 3.264 MB / 0.6988 GB, free: 83.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.396, allocations: 313.6 kB / 0.6991 GB, free: 82.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.41, allocations: 8.221 MB / 0.7071 GB, free: 75.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/1.413, allocations: 1.844 MB / 0.7089 GB, free: 73.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002972/1.416, allocations: 319 kB / 0.7092 GB, free: 73.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.417, allocations: 174.7 kB / 0.7094 GB, free: 73.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.417, allocations: 3.719 kB / 0.7094 GB, free: 73.34 MB / 410.7 MB Notification: Performance of Templates: time 0.09951/1.516, allocations: 63.36 MB / 0.7712 GB, free: 11.41 MB / 410.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