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.0008108/0.0008108, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0008897/0.0008897, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.812/0.812, allocations: 158.6 MB / 187.6 MB, free: 2.789 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 1.472e-06/1.472e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.331e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01422/0.01424, allocations: 10.45 MB / 262 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009059/0.0233, allocations: 3.349 MB / 265.3 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.02577, allocations: 47.75 kB / 265.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.02735, allocations: 0.6831 MB / 266 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.03077, allocations: 0.9615 MB / 267 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.03228, allocations: 0.9282 MB / 267.9 MB, free: 6.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.03557, allocations: 3.551 MB / 271.5 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008411/0.03641, allocations: 0.5707 MB / 272.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.03899, allocations: 1.988 MB / 274 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.04039, allocations: 1.169 MB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.04082, allocations: 344 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.0413, allocations: 371.9 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.04174, allocations: 0.7202 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.04268, allocations: 0.9937 MB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.0447, allocations: 2.246 MB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0447, allocations: 0 / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0447, allocations: 0 / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.426e-05/0.04476, allocations: 0 / 279.9 MB, free: 10.77 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.003808/0.04857, allocations: 3.008 MB / 282.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.0486, allocations: 15.98 kB / 282.9 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.04899, allocations: 360.6 kB / 283.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.05011, allocations: 0.8903 MB / 284.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.0502, allocations: 156.5 kB / 284.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.0504, allocations: 216.3 kB / 284.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.05177, allocations: 1.312 MB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.05181, allocations: 11.89 kB / 285.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.05191, allocations: 80 kB / 285.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.05194, allocations: 56 kB / 286 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.0528, allocations: 0.5943 MB / 286.6 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.05825, allocations: 4.006 MB / 290.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.05946, allocations: 1.242 MB / 291.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/0.06035, allocations: 0.7644 MB / 292.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.06046, allocations: 45.92 kB / 292.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.0605, allocations: 60.56 kB / 292.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 4.869e-06/0.0605, allocations: 4 kB / 292.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.02478/0.08528, allocations: 12.65 MB / 305.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.08533, allocations: 86.17 kB / 305.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.08644, allocations: 1.347 MB / 306.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.08657, allocations: 81.7 kB / 306.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.08693, allocations: 0.7358 MB / 307.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.08753, allocations: 1.208 MB / 308.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.08805, allocations: 0.4992 MB / 309.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.08812, allocations: 305.1 kB / 309.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.08883, allocations: 350.3 kB / 309.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.08952, allocations: 0.6813 MB / 310.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.0909, allocations: 1.298 MB / 311.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.09091, allocations: 0 / 311.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.003328/0.09424, allocations: 2.252 MB / 314.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.09426, allocations: 4 kB / 314.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.09428, allocations: 4 kB / 314.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/0.09831, allocations: 1.706 MB / 315.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.09975, allocations: 0.511 MB / 316.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.1113, allocations: 13.54 MB / 329.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.1126, allocations: 95.91 kB / 330 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.1128, allocations: 75.97 kB / 330.1 MB, free: 7.23 MB / 314.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.0006416/0.1134, allocations: 276.2 kB / 330.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.1138, allocations: 259.8 kB / 330.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.1175, allocations: 2.367 MB / 333 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.1175, allocations: 32 kB / 333 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1175, allocations: 4 kB / 333 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.1175, allocations: 23.81 kB / 333 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.1239, allocations: 3.949 MB / 337 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.1239, allocations: 4 kB / 337 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.125, allocations: 443.8 kB / 337.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004345/0.1294, allocations: 1.668 MB / 339.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.1295, allocations: 63.98 kB / 339.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.1398, allocations: 12.97 MB / 352.1 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1398, allocations: 4 kB / 352.1 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1078/0.2476, allocations: 2.92 MB / 355 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.2483, allocations: 254.4 kB / 355.3 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.2485, allocations: 63.31 kB / 355.3 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.2492, allocations: 93.8 kB / 355.4 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/0.2496, allocations: 268.1 kB / 355.7 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/0.2497, allocations: 71.47 kB / 355.8 MB, free: 84.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.2503, allocations: 0.706 MB / 356.5 MB, free: 84.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2503, allocations: 3.938 kB / 356.5 MB, free: 84.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001746/0.252, allocations: 0.8634 MB / 357.3 MB, free: 84.23 MB / 330.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.001047/0.2531, allocations: 0.5088 MB / 357.9 MB, free: 83.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.2556, allocations: 2.779 MB / 360.6 MB, free: 83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.232e-05/0.2556, allocations: 21.5 kB / 360.7 MB, free: 83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.2572, allocations: 2.16 MB / 362.8 MB, free: 82.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.2581, allocations: 389.3 kB / 363.2 MB, free: 82.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.2627, allocations: 4.51 MB / 367.7 MB, free: 80.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.2631, allocations: 0.5179 MB / 368.2 MB, free: 80.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000807/0.2639, allocations: 288.2 kB / 368.5 MB, free: 79.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/0.2647, allocations: 441.4 kB / 368.9 MB, free: 79.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2647, allocations: 0 / 368.9 MB, free: 79.51 MB / 330.7 MB Notification: Performance of Templates: time 0.06403/0.3287, allocations: 56.23 MB / 425.2 MB, free: 26.49 MB / 330.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: 4.458576837088913]