Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001507/0.001507, allocations: 181.2 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.907/2.907, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.000768/0.0007679, allocations: 99.78 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4965, allocations: 47.58 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.6849, allocations: 92.19 MB / 467.9 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004607/0.6855, allocations: 87.95 kB / 468 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6825/1.368, allocations: 50.06 MB / 0.5059 GB, free: 95.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.234e-06/1.368, allocations: 0 / 0.5059 GB, free: 95.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005856/1.369, allocations: 54.94 kB / 0.506 GB, free: 95.41 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.01756/1.386, allocations: 2.576 MB / 0.5085 GB, free: 94.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001073/1.387, allocations: 11.75 kB / 0.5085 GB, free: 94.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/1.389, allocations: 292.1 kB / 0.5088 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008566/1.398, allocations: 1.411 MB / 0.5102 GB, free: 93.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004835/1.399, allocations: 154.1 kB / 0.5103 GB, free: 93.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/1.4, allocations: 203.3 kB / 0.5105 GB, free: 93.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.413, allocations: 1.927 MB / 0.5124 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/1.414, allocations: 13.88 kB / 0.5124 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/1.415, allocations: 87.31 kB / 0.5125 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.415, allocations: 51.5 kB / 0.5125 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/1.429, allocations: 2.005 MB / 0.5145 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/1.463, allocations: 7.598 MB / 0.5219 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008571/1.472, allocations: 2.378 MB / 0.5242 GB, free: 87.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005879/1.478, allocations: 1.387 MB / 0.5256 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/1.478, allocations: 42.8 kB / 0.5256 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.488e-05/1.478, allocations: 59.91 kB / 0.5257 GB, free: 86.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 1.017e-05/1.479, allocations: 0 / 0.5257 GB, free: 86.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.09638/1.575, allocations: 17.69 MB / 0.543 GB, free: 71.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/1.575, allocations: 94.27 kB / 0.5431 GB, free: 71.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/1.581, allocations: 1.828 MB / 0.5448 GB, free: 69.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001286/1.582, allocations: 81.7 kB / 0.5449 GB, free: 69.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.583, allocations: 0.9772 MB / 0.5459 GB, free: 68.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002313/1.586, allocations: 1.2 MB / 0.547 GB, free: 67.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/1.586, allocations: 64 kB / 0.5471 GB, free: 67.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/1.587, allocations: 436.9 kB / 0.5475 GB, free: 66.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/1.592, allocations: 1.286 MB / 0.5488 GB, free: 65.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/1.598, allocations: 1.578 MB / 0.5503 GB, free: 63.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.609, allocations: 2.994 MB / 0.5532 GB, free: 60.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-05/1.609, allocations: 0 / 0.5532 GB, free: 60.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01688/1.626, allocations: 4.614 MB / 0.5577 GB, free: 55.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.626, allocations: 8 kB / 0.5578 GB, free: 55.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/1.626, allocations: 4 kB / 0.5578 GB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/1.632, allocations: 1.369 MB / 0.5591 GB, free: 54.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/1.635, allocations: 0.55 MB / 0.5596 GB, free: 54.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/1.658, allocations: 19.08 MB / 0.5783 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.662, allocations: 127.9 kB / 0.5784 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006167/1.662, allocations: 112 kB / 0.5785 GB, free: 33.81 MB / 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 (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.001828/1.664, allocations: 0.5928 MB / 0.5791 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006264/1.665, allocations: 260.8 kB / 0.5793 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009447/1.674, allocations: 4.593 MB / 0.5838 GB, free: 28.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.674, allocations: 32 kB / 0.5838 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.674, allocations: 7.438 kB / 0.5838 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/1.675, allocations: 19.92 kB / 0.5839 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/1.694, allocations: 9.017 MB / 0.5927 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.694, allocations: 4 kB / 0.5927 GB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/1.697, allocations: 499.3 kB / 0.5931 GB, free: 18.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005157/1.702, allocations: 1.282 MB / 0.5944 GB, free: 17.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006798/1.703, allocations: 71.97 kB / 0.5945 GB, free: 17.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/1.724, allocations: 17.66 MB / 0.6117 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.724, allocations: 8.062 kB / 0.6117 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02718/1.751, allocations: 6.423 MB / 0.618 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003679/1.755, allocations: 0.6733 MB / 0.6187 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.756, allocations: 68 kB / 0.6187 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/1.761, allocations: 139.9 kB / 0.6188 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/1.762, allocations: 282.4 kB / 0.6191 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005084/1.763, allocations: 95.97 kB / 0.6192 GB, free: 6.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004071/1.767, allocations: 1.278 MB / 0.6205 GB, free: 5.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.767, allocations: 0 / 0.6205 GB, free: 5.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006757/1.774, allocations: 0.9141 MB / 0.6214 GB, free: 4.672 MB / 394.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.001926/1.776, allocations: 460.3 kB / 0.6218 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009462/1.785, allocations: 4.607 MB / 0.6263 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.785, allocations: 0 / 0.6263 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/1.791, allocations: 3.107 MB / 0.6293 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/1.794, allocations: 363.6 kB / 0.6297 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.816, allocations: 6.945 MB / 0.6365 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.818, allocations: 1.719 MB / 0.6381 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.82, allocations: 187.4 kB / 0.6383 GB, free: 3.051 MB / 410.7 MB Notification: Performance of SimCode: time 4.027e-06/1.82, allocations: 0 / 0.6383 GB, free: 3.051 MB / 410.7 MB Notification: Performance of Templates: time 0.6684/2.489, allocations: 120.3 MB / 0.7558 GB, free: 49.61 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches