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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9048/0.9048, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/4.061e-05, allocations: 6.25 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01343/0.01347, allocations: 10.74 MB / 261.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00555/0.01902, allocations: 3.214 MB / 265 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.01971, allocations: 47.75 kB / 265.1 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.02055, allocations: 0.6792 MB / 265.7 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.02172, allocations: 0.95 MB / 266.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.02283, allocations: 0.9283 MB / 267.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.02494, allocations: 3.554 MB / 271.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.02558, allocations: 0.5512 MB / 271.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.02711, allocations: 1.965 MB / 273.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.02817, allocations: 1.227 MB / 274.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.02846, allocations: 352 kB / 275.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.02882, allocations: 376 kB / 275.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.0292, allocations: 0.7284 MB / 276.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006465/0.02985, allocations: 1.005 MB / 277.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.03148, allocations: 2.273 MB / 279.6 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.03148, allocations: 0 / 279.6 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03148, allocations: 0 / 279.6 MB, free: 6.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.0315, allocations: 4 kB / 279.6 MB, free: 6.867 MB / 266.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.003437/0.03494, allocations: 3.196 MB / 282.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.03498, allocations: 15.98 kB / 282.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.03541, allocations: 475 kB / 283.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.03688, allocations: 1.346 MB / 284.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.03698, allocations: 156.5 kB / 284.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.03718, allocations: 220.3 kB / 285 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.03898, allocations: 1.418 MB / 286.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.03901, allocations: 3.938 kB / 286.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.03913, allocations: 88 kB / 286.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.03916, allocations: 48 kB / 286.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.04066, allocations: 0.9219 MB / 287.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006416/0.04707, allocations: 5.404 MB / 292.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.04883, allocations: 1.47 MB / 294.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.0501, allocations: 0.9078 MB / 295.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.05021, allocations: 45.98 kB / 295.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.05024, allocations: 63.33 kB / 295.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 3.617e-06/0.05025, allocations: 0 / 295.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.1392/0.1895, allocations: 12.88 MB / 308.3 MB, free: 52.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1895, allocations: 91.48 kB / 308.4 MB, free: 52.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.1914, allocations: 1.51 MB / 309.9 MB, free: 52.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.1916, allocations: 80.58 kB / 309.9 MB, free: 52.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.1921, allocations: 1.049 MB / 311 MB, free: 51.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000721/0.1928, allocations: 1.199 MB / 312.2 MB, free: 50.51 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006169/0.1934, allocations: 0.4987 MB / 312.7 MB, free: 50.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.1935, allocations: 476.8 kB / 313.2 MB, free: 49.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.1945, allocations: 0.5652 MB / 313.7 MB, free: 49.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.1956, allocations: 0.9307 MB / 314.7 MB, free: 49.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.1977, allocations: 1.666 MB / 316.3 MB, free: 48.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.1977, allocations: 0 / 316.3 MB, free: 48.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.00568/0.2034, allocations: 3.145 MB / 319.5 MB, free: 47.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.2034, allocations: 11.17 kB / 319.5 MB, free: 47.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2034, allocations: 3.812 kB / 319.5 MB, free: 47.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/0.2092, allocations: 1.817 MB / 321.3 MB, free: 46.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.2109, allocations: 0.5128 MB / 321.8 MB, free: 45.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.2269, allocations: 19.34 MB / 341.1 MB, free: 25.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.2287, allocations: 91.97 kB / 341.2 MB, free: 25.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.2289, allocations: 104 kB / 341.3 MB, free: 25.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0007342/0.2296, allocations: 316.2 kB / 341.6 MB, free: 25.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.2301, allocations: 378.2 kB / 342 MB, free: 25.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/0.2358, allocations: 3.064 MB / 345.1 MB, free: 21.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.2359, allocations: 32 kB / 345.1 MB, free: 21.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2359, allocations: 7.938 kB / 345.1 MB, free: 21.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.2359, allocations: 15.94 kB / 345.1 MB, free: 21.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.2457, allocations: 5.696 MB / 350.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.2458, allocations: 7.938 kB / 350.8 MB, free: 16.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.2473, allocations: 447.7 kB / 351.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005695/0.253, allocations: 1.756 MB / 353 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.2532, allocations: 67.98 kB / 353.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.267, allocations: 18.56 MB / 371.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.267, allocations: 0 / 371.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/0.2738, allocations: 3.905 MB / 375.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.2751, allocations: 0.5449 MB / 376.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.2753, allocations: 63.94 kB / 376.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.2761, allocations: 91.95 kB / 376.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/0.2766, allocations: 274.5 kB / 376.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.2768, allocations: 91.98 kB / 376.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.2779, allocations: 0.9289 MB / 377.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2779, allocations: 0 / 377.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002297/0.2802, allocations: 0.8594 MB / 378.4 MB, free: 3.512 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.2812, allocations: 427.9 kB / 378.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004611/0.2858, allocations: 3.578 MB / 382.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.2858, allocations: 0 / 382.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.2884, allocations: 2.75 MB / 385.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.2897, allocations: 397.4 kB / 385.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.296, allocations: 4.828 MB / 390.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.2964, allocations: 0.5212 MB / 390.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.2975, allocations: 295.8 kB / 391.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.2979, allocations: 160.4 kB / 391.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.2979, allocations: 0 / 391.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of Templates: time 0.06162/0.3596, allocations: 53.54 MB / 444.9 MB, free: 488 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.205397933721542]