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.001034/0.001034, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002424, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009247/0.0009247, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002095, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.041/1.041, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.181/1.222, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.392e-06/1.392e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.038e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.008755/0.008775, allocations: 10.56 MB / 232.5 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007564/0.01634, allocations: 3.369 MB / 235.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.01799, allocations: 47.75 kB / 236 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.01904, allocations: 0.687 MB / 236.6 MB, free: 1.328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.02095, allocations: 0.9538 MB / 237.6 MB, free: 376 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.02247, allocations: 0.9282 MB / 238.5 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.02523, allocations: 3.518 MB / 242 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.02597, allocations: 0.5785 MB / 242.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.02863, allocations: 2.23 MB / 244.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.02975, allocations: 1.173 MB / 246 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.03007, allocations: 340 kB / 246.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.03052, allocations: 379.9 kB / 246.7 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.0309, allocations: 0.5491 MB / 247.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.03162, allocations: 0.8148 MB / 248.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.03339, allocations: 2.059 MB / 250.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.03341, allocations: 0 / 250.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.03341, allocations: 0 / 250.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.325e-05/0.03346, allocations: 0 / 250.2 MB, free: 3.719 MB / 250.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.004106/0.03756, allocations: 3.535 MB / 253.7 MB, free: 140 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.03761, allocations: 8.031 kB / 253.7 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.038, allocations: 356.6 kB / 254 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.03918, allocations: 0.8865 MB / 254.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.0393, allocations: 156.5 kB / 255.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.03953, allocations: 220.2 kB / 255.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.04115, allocations: 1.308 MB / 256.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.04119, allocations: 11.89 kB / 256.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.04131, allocations: 84 kB / 256.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.04135, allocations: 52 kB / 256.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.0427, allocations: 0.5982 MB / 257.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.04854, allocations: 4.026 MB / 261.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.04994, allocations: 1.257 MB / 262.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/0.0509, allocations: 0.7644 MB / 263.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.05101, allocations: 45.98 kB / 263.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.05106, allocations: 68.5 kB / 263.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=234): time 5.831e-06/0.05107, allocations: 0 / 263.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=351): time 0.02598/0.07705, allocations: 12.81 MB / 276.3 MB, free: 9.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.07713, allocations: 94.17 kB / 276.4 MB, free: 8.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.07855, allocations: 1.351 MB / 277.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.07868, allocations: 85.7 kB / 277.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.07909, allocations: 0.7319 MB / 278.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009241/0.08001, allocations: 1.208 MB / 279.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.08056, allocations: 0.4993 MB / 280.3 MB, free: 5.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.08064, allocations: 305.1 kB / 280.6 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.08116, allocations: 362.3 kB / 280.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.08188, allocations: 0.6696 MB / 281.6 MB, free: 3.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.0834, allocations: 1.342 MB / 282.9 MB, free: 2.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.08341, allocations: 0 / 282.9 MB, free: 2.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.1789/0.2624, allocations: 2.245 MB / 285.2 MB, free: 49.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.2624, allocations: 8.703 kB / 285.2 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2624, allocations: 4.438 kB / 285.2 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/0.2677, allocations: 1.701 MB / 286.9 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.27, allocations: 0.6249 MB / 287.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.2818, allocations: 13.58 MB / 301.1 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.2833, allocations: 90.58 kB / 301.2 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.2834, allocations: 80.42 kB / 301.3 MB, free: 40.98 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.0006429/0.2841, allocations: 275.5 kB / 301.6 MB, free: 40.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.2844, allocations: 265.2 kB / 301.8 MB, free: 40.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.2879, allocations: 2.365 MB / 304.2 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.2879, allocations: 32 kB / 304.2 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2879, allocations: 5.719 kB / 304.2 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.2879, allocations: 18.28 kB / 304.2 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.2935, allocations: 3.943 MB / 308.2 MB, free: 39.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.2935, allocations: 6.453 kB / 308.2 MB, free: 39.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.2947, allocations: 0.5433 MB / 308.7 MB, free: 39.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.2952, allocations: 246.4 kB / 309 MB, free: 39.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/0.2987, allocations: 1.666 MB / 310.6 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.2988, allocations: 70.88 kB / 310.7 MB, free: 38.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007992/0.3068, allocations: 13.01 MB / 323.7 MB, free: 25.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3068, allocations: 7.938 kB / 323.7 MB, free: 25.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.3104, allocations: 2.947 MB / 326.7 MB, free: 22.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.3106, allocations: 59.8 kB / 326.7 MB, free: 22.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.3113, allocations: 104 kB / 326.8 MB, free: 22.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/0.3117, allocations: 270.5 kB / 327.1 MB, free: 22.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.3118, allocations: 68.95 kB / 327.2 MB, free: 22.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005479/0.3124, allocations: 0.7042 MB / 327.9 MB, free: 21.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3124, allocations: 0 / 327.9 MB, free: 21.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0023/0.3147, allocations: 0.8672 MB / 328.7 MB, free: 20.55 MB / 282.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.001223/0.3159, allocations: 0.5582 MB / 329.3 MB, free: 20.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.3186, allocations: 2.814 MB / 332.1 MB, free: 17.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.875e-05/0.3186, allocations: 48.36 kB / 332.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.3204, allocations: 2.331 MB / 334.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.3221, allocations: 3.309 MB / 337.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.33, allocations: 4.766 MB / 342.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.3306, allocations: 0.5402 MB / 343.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009615/0.3315, allocations: 296.8 kB / 343.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/0.3324, allocations: 493.1 kB / 343.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3324, allocations: 0 / 343.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of Templates: time 0.06842/0.4008, allocations: 55.96 MB / 399.8 MB, free: 12.7 MB / 346.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.467046585865319]