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.001332/0.001332, allocations: 83.84 kB / 20.68 MB, free: 1.023 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.001388/0.001388, allocations: 164.1 kB / 23.96 MB, free: 4.145 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 1.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 1.282e-06/1.282e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.826e-05, allocations: 6.219 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003684/0.003712, allocations: 1.946 MB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.005406, allocations: 0.6522 MB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.00562, allocations: 4.875 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.005784, allocations: 14.36 kB / 327.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.005985, allocations: 51.09 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.006389, allocations: 55.97 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.006737, allocations: 154.1 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.006902, allocations: 25.91 kB / 327.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.007128, allocations: 80.47 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007249, allocations: 36.47 kB / 328.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.007288, allocations: 10.22 kB / 328.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.007417, allocations: 32.58 kB / 328.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.007458, allocations: 26.28 kB / 328.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.007555, allocations: 44.73 kB / 328.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.00793, allocations: 152.1 kB / 328.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.007934, allocations: 0 / 328.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.007935, allocations: 0 / 328.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.00795, allocations: 1.406 kB / 328.3 MB, free: 14.47 MB / 302.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.0008891/0.008839, allocations: 364.5 kB / 328.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.008884, allocations: 9.625 kB / 328.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.009136, allocations: 29.56 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.009434, allocations: 140.1 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.009447, allocations: 9.422 kB / 328.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.009494, allocations: 12.03 kB / 328.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.009838, allocations: 115 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.009856, allocations: 1.031 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.009876, allocations: 9.125 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.009884, allocations: 3.219 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.01019, allocations: 89.91 kB / 329.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.0112, allocations: 425 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.01157, allocations: 102.3 kB / 329.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.0117, allocations: 45.77 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.01172, allocations: 1.609 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.01175, allocations: 37.52 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.01175, allocations: 0 / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004988/0.01225, allocations: 146.7 kB / 329.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.0123, allocations: 53.5 kB / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01244, allocations: 138.5 kB / 330 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01246, allocations: 27.33 kB / 330 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.01256, allocations: 118.1 kB / 330.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.0126, allocations: 36.33 kB / 330.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.01267, allocations: 26.25 kB / 330.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.01283, allocations: 321.1 kB / 330.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.01297, allocations: 36.27 kB / 330.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01313, allocations: 68.16 kB / 330.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.01341, allocations: 111.3 kB / 330.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01341, allocations: 1.062 kB / 330.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003773/0.01379, allocations: 144.8 kB / 330.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.01381, allocations: 5.766 kB / 330.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01382, allocations: 1.312 kB / 330.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.01384, allocations: 5.062 kB / 330.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01401, allocations: 35.06 kB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.01401, allocations: 5.469 kB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.01414, allocations: 12.3 kB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01416, allocations: 4.312 kB / 331 MB, free: 12.5 MB / 302.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.0001387/0.01429, allocations: 127.4 kB / 331.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.01434, allocations: 17.73 kB / 331.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.01438, allocations: 16.23 kB / 331.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.01439, allocations: 5.062 kB / 331.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01439, allocations: 4 kB / 331.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.0144, allocations: 5.844 kB / 331.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01462, allocations: 139.2 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01462, allocations: 0.6094 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.01481, allocations: 31.42 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01481, allocations: 1.125 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01483, allocations: 1.75 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01483, allocations: 0 / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01483, allocations: 8.969 kB / 331.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.01536, allocations: 264.2 kB / 331.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.01539, allocations: 10.98 kB / 331.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.01541, allocations: 1.859 kB / 331.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.01553, allocations: 11.36 kB / 331.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.01559, allocations: 9.766 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01559, allocations: 6.219 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.01568, allocations: 105.5 kB / 331.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01568, allocations: 0 / 331.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.01597, allocations: 27.25 kB / 331.7 MB, free: 11.9 MB / 302.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.000135/0.0161, allocations: 103.4 kB / 331.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.01644, allocations: 89.34 kB / 331.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01644, allocations: 1.219 kB / 331.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01658, allocations: 39.62 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.01692, allocations: 22.59 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.01773, allocations: 377.4 kB / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.01785, allocations: 97.98 kB / 332.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.01791, allocations: 5.375 kB / 332.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.01796, allocations: 12.94 kB / 332.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01796, allocations: 5.062 kB / 332.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Templates: time 0.004677/0.02263, allocations: 1.219 MB / 333.7 MB, free: 10.73 MB / 302.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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: 4.112826302647591]