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.001022/0.001022, allocations: 85.95 kB / 23 MB, free: 1.504 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.001023/0.001023, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.896/0.896, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.433e-06/1.433e-06, allocations: 0 / 252.3 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.19e-05, allocations: 2.312 kB / 252.3 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.007873/0.007885, allocations: 10.44 MB / 262.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.01235, allocations: 3.199 MB / 265.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.01308, allocations: 47.75 kB / 265.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.01396, allocations: 0.687 MB / 266.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01518, allocations: 0.9499 MB / 267.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.01617, allocations: 0.9283 MB / 268.5 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.01831, allocations: 3.547 MB / 272.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006331/0.01894, allocations: 0.559 MB / 272.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.02029, allocations: 1.984 MB / 274.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009442/0.02124, allocations: 1.204 MB / 275.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.02152, allocations: 340 kB / 276.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.02185, allocations: 368 kB / 276.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.02224, allocations: 0.728 MB / 277.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.02293, allocations: 0.9859 MB / 278.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.0245, allocations: 2.242 MB / 280.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.0245, allocations: 0 / 280.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0245, allocations: 3.938 kB / 280.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.02452, allocations: 0 / 280.5 MB, free: 10.92 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.003426/0.02794, allocations: 3.184 MB / 283.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.02797, allocations: 15.98 kB / 283.7 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.02836, allocations: 471 kB / 284.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.02947, allocations: 1.271 MB / 285.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.02956, allocations: 160.5 kB / 285.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.02976, allocations: 212.4 kB / 285.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.03107, allocations: 1.27 MB / 287 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.0311, allocations: 7.891 kB / 287 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.03122, allocations: 80 kB / 287.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.03124, allocations: 52 kB / 287.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.03218, allocations: 0.715 MB / 287.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.03794, allocations: 5.152 MB / 293 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.03918, allocations: 1.33 MB / 294.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.04012, allocations: 0.8178 MB / 295.2 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.04021, allocations: 49.98 kB / 295.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.04024, allocations: 59.39 kB / 295.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 3.176e-06/0.04024, allocations: 0 / 295.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.02298/0.06322, allocations: 11.84 MB / 307.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.06327, allocations: 94.11 kB / 307.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.06432, allocations: 1.46 MB / 308.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.06453, allocations: 81.7 kB / 308.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.06511, allocations: 1.081 MB / 309.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007367/0.06584, allocations: 1.212 MB / 311 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.06639, allocations: 0.5026 MB / 311.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.06649, allocations: 488.7 kB / 312 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.06707, allocations: 434 kB / 312.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.06796, allocations: 0.7976 MB / 313.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.06943, allocations: 1.408 MB / 314.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.06943, allocations: 0 / 314.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.004045/0.07348, allocations: 2.831 MB / 317.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.07349, allocations: 8 kB / 317.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.0735, allocations: 7.938 kB / 317.5 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/0.07759, allocations: 1.791 MB / 319.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.07878, allocations: 0.5071 MB / 319.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.09229, allocations: 18.76 MB / 338.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.09336, allocations: 91.97 kB / 338.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.09348, allocations: 83.97 kB / 338.7 MB, free: 15 MB / 330.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.0005469/0.09403, allocations: 308.1 kB / 339 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/0.0944, allocations: 378.3 kB / 339.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.09828, allocations: 2.786 MB / 342.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.0983, allocations: 36 kB / 342.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.0983, allocations: 4 kB / 342.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.09832, allocations: 15.94 kB / 342.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006862/0.1052, allocations: 5.186 MB / 347.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1052, allocations: 4 kB / 347.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.1063, allocations: 443.7 kB / 347.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/0.1103, allocations: 1.73 MB / 349.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.1104, allocations: 71.97 kB / 349.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1674/0.2778, allocations: 18.05 MB / 367.7 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2778, allocations: 3.75 kB / 367.7 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.2825, allocations: 3.501 MB / 371.2 MB, free: 85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/0.2831, allocations: 0.543 MB / 371.8 MB, free: 84.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.2833, allocations: 64.92 kB / 371.8 MB, free: 84.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/0.2841, allocations: 89.64 kB / 371.9 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/0.2844, allocations: 277.8 kB / 372.2 MB, free: 84.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.2845, allocations: 67.28 kB / 372.2 MB, free: 84.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005188/0.2851, allocations: 0.8258 MB / 373.1 MB, free: 84.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2851, allocations: 0 / 373.1 MB, free: 84.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00161/0.2867, allocations: 0.8679 MB / 373.9 MB, free: 83.98 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.0007983/0.2875, allocations: 432.6 kB / 374.4 MB, free: 83.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.29, allocations: 3.326 MB / 377.7 MB, free: 80.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.29, allocations: 4 kB / 377.7 MB, free: 80.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.2916, allocations: 2.63 MB / 380.3 MB, free: 78.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.2925, allocations: 386.2 kB / 380.7 MB, free: 77.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.2971, allocations: 4.726 MB / 385.4 MB, free: 73.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2975, allocations: 0.5288 MB / 386 MB, free: 73.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008031/0.2983, allocations: 275.8 kB / 386.2 MB, free: 72.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000829/0.2991, allocations: 490 kB / 386.7 MB, free: 72.34 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2991, allocations: 0 / 386.7 MB, free: 72.34 MB / 330.7 MB Notification: Performance of Templates: time 0.05017/0.3493, allocations: 57.88 MB / 444.6 MB, free: 14.32 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.905407688114792]