Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 202.2 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007633, allocations: 97.39 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003047, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.35, allocations: 96.47 MB / 0.494 GB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3502, allocations: 96.94 kB / 0.4941 GB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2875/0.6378, allocations: 52.02 MB / 0.5449 GB, free: 68.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6378, allocations: 0 / 0.5449 GB, free: 68.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001554/0.638, allocations: 55.98 kB / 0.5449 GB, free: 68.19 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.006256/0.6442, allocations: 2.614 MB / 0.5475 GB, free: 65.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6443, allocations: 8.031 kB / 0.5475 GB, free: 65.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6454, allocations: 333.4 kB / 0.5478 GB, free: 65.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.6475, allocations: 1.407 MB / 0.5492 GB, free: 63.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.6476, allocations: 156.5 kB / 0.5493 GB, free: 63.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.6479, allocations: 208.3 kB / 0.5495 GB, free: 63.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.6511, allocations: 1.936 MB / 0.5514 GB, free: 61.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.6512, allocations: 192 / 0.5514 GB, free: 61.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.6514, allocations: 91.94 kB / 0.5515 GB, free: 61.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.6514, allocations: 48 kB / 0.5516 GB, free: 61.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.655, allocations: 2.003 MB / 0.5535 GB, free: 59.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.6655, allocations: 7.598 MB / 0.5609 GB, free: 51.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.6686, allocations: 2.367 MB / 0.5632 GB, free: 48.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.6708, allocations: 1.393 MB / 0.5646 GB, free: 47.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6709, allocations: 37.95 kB / 0.5646 GB, free: 47.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.671, allocations: 60.56 kB / 0.5647 GB, free: 47.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.178e-06/0.671, allocations: 0 / 0.5647 GB, free: 47.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.05136/0.7223, allocations: 17.69 MB / 0.582 GB, free: 29.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.7224, allocations: 98.28 kB / 0.5821 GB, free: 29.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.7247, allocations: 1.832 MB / 0.5839 GB, free: 27.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.7249, allocations: 81.7 kB / 0.5839 GB, free: 27.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.7254, allocations: 0.9699 MB / 0.5849 GB, free: 26.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005961/0.726, allocations: 1.205 MB / 0.5861 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.7262, allocations: 68 kB / 0.5861 GB, free: 25.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.7263, allocations: 432.9 kB / 0.5865 GB, free: 24.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.7285, allocations: 1.287 MB / 0.5878 GB, free: 23.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.7309, allocations: 1.578 MB / 0.5893 GB, free: 21.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.7357, allocations: 2.995 MB / 0.5923 GB, free: 18.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7357, allocations: 0 / 0.5923 GB, free: 18.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.00945/0.7452, allocations: 4.614 MB / 0.5968 GB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.7452, allocations: 4 kB / 0.5968 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.7453, allocations: 4 kB / 0.5968 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.7503, allocations: 1.369 MB / 0.5981 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.7531, allocations: 0.5539 MB / 0.5987 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.7756, allocations: 19.1 MB / 0.6173 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.7784, allocations: 132 kB / 0.6174 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.7788, allocations: 112 kB / 0.6175 GB, free: 7.965 MB / 394.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 (307): * Single equations (assignments): 300 * 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%) 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.00139/0.7802, allocations: 0.581 MB / 0.6181 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.7807, allocations: 264.7 kB / 0.6184 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.7918, allocations: 4.594 MB / 0.6228 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.7919, allocations: 36 kB / 0.6229 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.7919, allocations: 4 kB / 0.6229 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.519e-05/0.7919, allocations: 19.92 kB / 0.6229 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/0.8097, allocations: 9.012 MB / 0.6317 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.8097, allocations: 4 kB / 0.6317 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/0.8123, allocations: 491.7 kB / 0.6322 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005161/0.8174, allocations: 1.29 MB / 0.6334 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/0.8178, allocations: 71.98 kB / 0.6335 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/0.84, allocations: 17.68 MB / 0.6508 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.84, allocations: 4 kB / 0.6508 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.8538, allocations: 6.427 MB / 0.657 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.8552, allocations: 0.6694 MB / 0.6577 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.8556, allocations: 67.98 kB / 0.6578 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.8574, allocations: 139.9 kB / 0.6579 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006179/0.8581, allocations: 270.8 kB / 0.6582 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/0.8583, allocations: 99.97 kB / 0.6583 GB, free: 12.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.8601, allocations: 1.282 MB / 0.6595 GB, free: 11.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8601, allocations: 4 kB / 0.6595 GB, free: 11.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002742/0.8629, allocations: 0.914 MB / 0.6604 GB, free: 10.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,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 (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 41,3 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.8639, allocations: 467.7 kB / 0.6608 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007718/0.8717, allocations: 4.604 MB / 0.6653 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.8717, allocations: 0 / 0.6653 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004957/0.8767, allocations: 3.103 MB / 0.6684 GB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/0.8798, allocations: 381.8 kB / 0.6687 GB, free: 2.023 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1794/1.059, allocations: 6.872 MB / 0.6754 GB, free: 121.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.06, allocations: 1.725 MB / 0.6771 GB, free: 120.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002018/1.062, allocations: 313.8 kB / 0.6774 GB, free: 120.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/1.063, allocations: 164.5 kB / 0.6776 GB, free: 120.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/1.063, allocations: 3.688 kB / 0.6776 GB, free: 120.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06454/1.128, allocations: 50.12 MB / 0.7265 GB, free: 95.51 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches