Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.001519/0.001519, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002237/0.002237, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.086/2.086, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3413, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004309/0.3456, allocations: 1.94 MB / 434.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3473, allocations: 0.6468 MB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3474, allocations: 3.938 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3475, allocations: 23.78 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.3477, allocations: 35.7 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.348, allocations: 51.8 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.3483, allocations: 147.3 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3484, allocations: 28.95 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3485, allocations: 55.8 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3487, allocations: 63.69 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3487, allocations: 8 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3488, allocations: 27.98 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.3489, allocations: 23.92 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.3489, allocations: 47.8 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.3493, allocations: 150.4 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3493, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3493, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3493, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008673/0.3501, allocations: 369.7 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3502, allocations: 8.031 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.3504, allocations: 24.88 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3508, allocations: 146.3 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3508, allocations: 8.375 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.3509, allocations: 12.38 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.3513, allocations: 121.5 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3513, allocations: 0 / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3513, allocations: 11.94 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3513, allocations: 0 / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.3517, allocations: 91.92 kB / 436.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3529, allocations: 423 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.3534, allocations: 102.5 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3536, allocations: 36.84 kB / 436.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3536, allocations: 3.938 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3536, allocations: 42.48 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3536, allocations: 0 / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006648/0.3543, allocations: 149.7 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3543, allocations: 59.39 kB / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3545, allocations: 129.8 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3545, allocations: 25.7 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3547, allocations: 120.2 kB / 437.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.3547, allocations: 31.73 kB / 437.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.3548, allocations: 25.72 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.355, allocations: 322.8 kB / 437.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3552, allocations: 35.97 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3554, allocations: 71.34 kB / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.3558, allocations: 107.3 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3558, allocations: 0 / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004991/0.3563, allocations: 161.3 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3563, allocations: 8 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3563, allocations: 0 / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3563, allocations: 3.984 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3565, allocations: 35.92 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3566, allocations: 0 / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.3567, allocations: 15.92 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3567, allocations: 0 / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.3568, allocations: 121.8 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.3569, allocations: 23.89 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.357, allocations: 16.72 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.357, allocations: 0 / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.357, allocations: 0 / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.357, allocations: 0 / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3573, allocations: 145.2 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3573, allocations: 4 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3575, allocations: 27.92 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3575, allocations: 3.938 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3575, allocations: 4.375 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3575, allocations: 8 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3575, allocations: 0 / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.3582, allocations: 255.3 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3583, allocations: 15.91 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3583, allocations: 11.88 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.3585, allocations: 8.031 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.3586, allocations: 7.984 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3586, allocations: 4 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3587, allocations: 105.8 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.3591, allocations: 28 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.3592, allocations: 95.25 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.3597, allocations: 95.81 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3597, allocations: 0 / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.3599, allocations: 40.16 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.3603, allocations: 16 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3615, allocations: 484.5 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3616, allocations: 89.19 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.3617, allocations: 20.33 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.3618, allocations: 11.72 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3618, allocations: 0 / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Templates: time 0.005568/0.3673, allocations: 1.387 MB / 441.2 MB, free: 13.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.648096976001398]