Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.0008651, allocations: 79.88 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.623e-05, allocations: 0 / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09816, allocations: 50.42 MB / 394.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.4052, allocations: 95.19 MB / 489.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4055, allocations: 87.78 kB / 489.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.5381, allocations: 51.36 MB / 0.5282 GB, free: 4.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5382, allocations: 0 / 0.5282 GB, free: 4.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001493/0.5383, allocations: 52 kB / 0.5283 GB, free: 4.648 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00615/0.5445, allocations: 2.299 MB / 0.5305 GB, free: 2.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5446, allocations: 15.97 kB / 0.5305 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.5452, allocations: 292.4 kB / 0.5308 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.5479, allocations: 1.326 MB / 0.5321 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.548, allocations: 164.1 kB / 0.5323 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.5483, allocations: 207.8 kB / 0.5325 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.5518, allocations: 1.788 MB / 0.5342 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.5519, allocations: 4 kB / 0.5342 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5521, allocations: 80 kB / 0.5343 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.5521, allocations: 51.94 kB / 0.5343 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.5555, allocations: 1.766 MB / 0.5361 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.568, allocations: 7.605 MB / 0.5435 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.5714, allocations: 2.234 MB / 0.5457 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.5737, allocations: 1.284 MB / 0.5469 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.5739, allocations: 41.95 kB / 0.547 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.5739, allocations: 56.56 kB / 0.547 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 5.01e-06/0.5739, allocations: 4 kB / 0.547 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.27/0.8439, allocations: 15.28 MB / 0.5619 GB, free: 106.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06475/0.9087, allocations: 30.84 MB / 0.5921 GB, free: 92.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.911, allocations: 1.621 MB / 0.5936 GB, free: 91.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000546/0.9116, allocations: 88.77 kB / 0.5937 GB, free: 91.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.912, allocations: 0.9675 MB / 0.5947 GB, free: 90.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007823/0.9128, allocations: 1.23 MB / 0.5959 GB, free: 89.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.913, allocations: 67.38 kB / 0.5959 GB, free: 89.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9131, allocations: 438.5 kB / 0.5964 GB, free: 89.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.9151, allocations: 1.255 MB / 0.5976 GB, free: 88.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.9171, allocations: 1.539 MB / 0.5991 GB, free: 88.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.9192, allocations: 1.434 MB / 0.6005 GB, free: 87.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9192, allocations: 0 / 0.6005 GB, free: 87.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.008883/0.9281, allocations: 4.558 MB / 0.6049 GB, free: 85.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.9282, allocations: 13.33 kB / 0.6049 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9282, allocations: 2.969 kB / 0.6049 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/0.9331, allocations: 1.356 MB / 0.6063 GB, free: 85.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.936, allocations: 0.5888 MB / 0.6068 GB, free: 85.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.9568, allocations: 19.23 MB / 0.6256 GB, free: 67.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.9598, allocations: 173.1 kB / 0.6258 GB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.9601, allocations: 113.8 kB / 0.6259 GB, free: 67.09 MB / 426.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 () * 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,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0004993/0.9606, allocations: 272.1 kB / 0.6262 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.961, allocations: 260.8 kB / 0.6264 GB, free: 66.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00937/0.9704, allocations: 4.604 MB / 0.6309 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008089/0.9785, allocations: 4.02 MB / 0.6348 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.9786, allocations: 4 kB / 0.6348 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/0.9787, allocations: 17.81 kB / 0.6349 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.995, allocations: 9.768 MB / 0.6444 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.9951, allocations: 12.02 kB / 0.6444 GB, free: 50.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002818/0.9979, allocations: 0.4886 MB / 0.6449 GB, free: 50.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/1.003, allocations: 1.39 MB / 0.6462 GB, free: 49.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004352/1.003, allocations: 79.67 kB / 0.6463 GB, free: 49.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/1.022, allocations: 17.68 MB / 0.6636 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05348/1.076, allocations: 27.25 MB / 0.6902 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.089, allocations: 6.681 MB / 0.6967 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.091, allocations: 0.6967 MB / 0.6974 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.091, allocations: 71.98 kB / 0.6975 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.093, allocations: 155.9 kB / 0.6976 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000709/1.094, allocations: 279 kB / 0.6979 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.094, allocations: 107.3 kB / 0.698 GB, free: 13.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00197/1.096, allocations: 1.254 MB / 0.6992 GB, free: 11.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.096, allocations: 0 / 0.6992 GB, free: 11.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003872/1.1, allocations: 1.078 MB / 0.7003 GB, free: 10.86 MB / 442.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.001087/1.101, allocations: 439.3 kB / 0.7007 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007947/1.109, allocations: 4.536 MB / 0.7051 GB, free: 5.934 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.109, allocations: 0 / 0.7051 GB, free: 5.934 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.115, allocations: 3.117 MB / 0.7082 GB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.117, allocations: 315.7 kB / 0.7085 GB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2378/1.355, allocations: 6.044 MB / 0.7144 GB, free: 107.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.357, allocations: 1.831 MB / 0.7161 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002678/1.36, allocations: 330.6 kB / 0.7165 GB, free: 107 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/1.361, allocations: 182.4 kB / 0.7166 GB, free: 107 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.361, allocations: 0 / 0.7166 GB, free: 107 MB / 442.7 MB Notification: Performance of Templates: time 0.09818/1.459, allocations: 65.08 MB / 0.7802 GB, free: 83.12 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches