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.000914/0.000914, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001096/0.001096, allocations: 163.1 kB / 25.69 MB, free: 8.418 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 1.017/1.017, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.402e-06/1.402e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.287e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009193/0.009216, allocations: 10.5 MB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.01666, allocations: 3.349 MB / 265.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.01847, allocations: 47.75 kB / 265.5 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.01973, allocations: 0.6832 MB / 266.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.02209, allocations: 0.9538 MB / 267.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.02386, allocations: 0.9399 MB / 268 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.02743, allocations: 3.547 MB / 271.6 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000948/0.02838, allocations: 0.5668 MB / 272.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.03111, allocations: 1.984 MB / 274.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.03254, allocations: 1.173 MB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000413/0.03295, allocations: 344 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.0334, allocations: 375.9 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.03382, allocations: 0.7164 MB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.0346, allocations: 1.001 MB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.03643, allocations: 2.231 MB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.03643, allocations: 0 / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03643, allocations: 4 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.74e-05/0.03647, allocations: 0 / 280 MB, free: 10.67 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.003106/0.03958, allocations: 3.012 MB / 283 MB, free: 7.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.03961, allocations: 11.98 kB / 283 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.03995, allocations: 356.6 kB / 283.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.04097, allocations: 0.8942 MB / 284.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/0.04106, allocations: 156.5 kB / 284.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.04125, allocations: 220.3 kB / 284.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.04253, allocations: 1.308 MB / 285.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.04257, allocations: 11.89 kB / 285.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.04268, allocations: 80 kB / 286 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.0427, allocations: 48 kB / 286 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.04355, allocations: 0.5943 MB / 286.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.049, allocations: 4.002 MB / 290.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.05036, allocations: 1.25 MB / 291.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009536/0.05132, allocations: 0.7683 MB / 292.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.05142, allocations: 45.98 kB / 292.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.05146, allocations: 56.56 kB / 292.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 4.839e-06/0.05146, allocations: 3.984 kB / 292.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.02469/0.07615, allocations: 12.65 MB / 305.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.0762, allocations: 86.17 kB / 305.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.0773, allocations: 1.347 MB / 306.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.07741, allocations: 85.7 kB / 306.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.0778, allocations: 0.7319 MB / 307.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/0.07845, allocations: 1.212 MB / 308.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005161/0.07897, allocations: 0.4953 MB / 309.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.07904, allocations: 301.1 kB / 309.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.07956, allocations: 354.3 kB / 310 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.08024, allocations: 0.6774 MB / 310.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.08164, allocations: 1.294 MB / 312 MB, free: 10.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.08164, allocations: 4 kB / 312 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.003416/0.08506, allocations: 2.248 MB / 314.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.08509, allocations: 8 kB / 314.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.0851, allocations: 4 kB / 314.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/0.08904, allocations: 1.713 MB / 316 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.09048, allocations: 0.585 MB / 316.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.1018, allocations: 13.58 MB / 330.1 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.1027, allocations: 87.98 kB / 330.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.1029, allocations: 75.97 kB / 330.3 MB, free: 7.039 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.0005162/0.1034, allocations: 272.3 kB / 330.5 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.1037, allocations: 267.8 kB / 330.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.107, allocations: 2.372 MB / 333.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.107, allocations: 32 kB / 333.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.107, allocations: 7.938 kB / 333.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.1071, allocations: 19.92 kB / 333.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.1129, allocations: 3.942 MB / 337.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.1129, allocations: 288 / 337.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.1141, allocations: 0.5071 MB / 337.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/0.1179, allocations: 1.664 MB / 339.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.1181, allocations: 71.97 kB / 339.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00958/0.1276, allocations: 12.99 MB / 352.4 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.1277, allocations: 11.92 kB / 352.4 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1248/0.2524, allocations: 2.92 MB / 355.3 MB, free: 94.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.2531, allocations: 243.5 kB / 355.6 MB, free: 94.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.2532, allocations: 63.7 kB / 355.6 MB, free: 94.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.2539, allocations: 99.91 kB / 355.7 MB, free: 94.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/0.2544, allocations: 272 kB / 356 MB, free: 94.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.2545, allocations: 64.75 kB / 356.1 MB, free: 94.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005072/0.255, allocations: 0.7053 MB / 356.8 MB, free: 94.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.255, allocations: 0 / 356.8 MB, free: 94.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00164/0.2566, allocations: 0.8674 MB / 357.6 MB, free: 94.51 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.0009678/0.2576, allocations: 0.5226 MB / 358.2 MB, free: 94.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.2599, allocations: 2.779 MB / 360.9 MB, free: 93.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/0.26, allocations: 18.91 kB / 361 MB, free: 93.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.2614, allocations: 2.154 MB / 363.1 MB, free: 92.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.2622, allocations: 394.6 kB / 363.5 MB, free: 92.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.2665, allocations: 4.514 MB / 368 MB, free: 89.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2668, allocations: 0.5127 MB / 368.5 MB, free: 88.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008101/0.2677, allocations: 289 kB / 368.8 MB, free: 88.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/0.2685, allocations: 450.3 kB / 369.2 MB, free: 88.18 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2685, allocations: 0 / 369.2 MB, free: 88.18 MB / 330.7 MB Notification: Performance of Templates: time 0.05036/0.3188, allocations: 56.6 MB / 425.8 MB, free: 33.52 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 -s gbode -gbm=radauIIA3 -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.629791910294443]