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.000704/0.000704, allocations: 91.62 kB / 21.44 MB, free: 3.102 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.0008454/0.0008454, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8445/0.8445, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 2.415e-06/2.415e-06, allocations: 4 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.402e-05, allocations: 2.281 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002141/0.002155, allocations: 1.947 MB / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.002803, allocations: 0.6544 MB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.002854, allocations: 0 / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.763e-05/0.002922, allocations: 19.8 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.002976, allocations: 39.64 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.003123, allocations: 63.72 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003241, allocations: 147.2 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.003321, allocations: 25.06 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.003386, allocations: 87.75 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.003437, allocations: 43.88 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.00345, allocations: 8 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.003496, allocations: 27.98 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003513, allocations: 23.91 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.003544, allocations: 47.86 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.00369, allocations: 151.5 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003692, allocations: 0 / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003692, allocations: 0 / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.003695, allocations: 0 / 329.1 MB, free: 12.02 MB / 298.7 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.0003289/0.004024, allocations: 372.9 kB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.004051, allocations: 8.031 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.004153, allocations: 24.88 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.004278, allocations: 145.5 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.004287, allocations: 8.375 kB / 329.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004306, allocations: 12.38 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.004456, allocations: 110.2 kB / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004464, allocations: 4.188 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.004475, allocations: 7.938 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-06/0.004477, allocations: 4 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.004614, allocations: 87.88 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.005038, allocations: 427.2 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.005222, allocations: 98.61 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.00528, allocations: 44.72 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.005288, allocations: 0 / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.005306, allocations: 38.69 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.11e-07/0.005307, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002188/0.005525, allocations: 153.5 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.005545, allocations: 51.41 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.005615, allocations: 145.7 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005625, allocations: 25.7 kB / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.005672, allocations: 112.2 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.005698, allocations: 39.69 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.005731, allocations: 29.7 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.005805, allocations: 318.8 kB / 331.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.005866, allocations: 39.97 kB / 331.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.005939, allocations: 71.28 kB / 331.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.006073, allocations: 107.3 kB / 331.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.006074, allocations: 0 / 331.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001739/0.006248, allocations: 145.4 kB / 331.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00626, allocations: 19 kB / 331.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.006266, allocations: 4 kB / 331.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006277, allocations: 3.938 kB / 331.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.006354, allocations: 35.97 kB / 331.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.006358, allocations: 0 / 331.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.006399, allocations: 8 kB / 331.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.006405, allocations: 4 kB / 331.7 MB, free: 9.176 MB / 298.7 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 6.096e-05/0.006466, allocations: 133.7 kB / 331.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.006482, allocations: 11.91 kB / 331.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.006504, allocations: 16.78 kB / 331.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006506, allocations: 7.938 kB / 331.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006509, allocations: 0 / 331.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006512, allocations: 0 / 331.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.006622, allocations: 145.3 kB / 332 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006623, allocations: 0 / 332 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.006701, allocations: 27.98 kB / 332.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006702, allocations: 384 / 332.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.006709, allocations: 0 / 332.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006711, allocations: 4 kB / 332.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006712, allocations: 3.938 kB / 332.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.006984, allocations: 263.3 kB / 332.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.006994, allocations: 11.91 kB / 332.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.007006, allocations: 0 / 332.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.00706, allocations: 4 kB / 332.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.007093, allocations: 15.97 kB / 332.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007098, allocations: 4 kB / 332.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.837e-05/0.007136, allocations: 103.2 kB / 332.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007136, allocations: 4 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.00729, allocations: 35.81 kB / 332.5 MB, free: 8.348 MB / 298.7 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 6.559e-05/0.007355, allocations: 99.25 kB / 332.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.007526, allocations: 87.88 kB / 332.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007527, allocations: 0 / 332.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.007586, allocations: 39.92 kB / 332.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.007785, allocations: 24.17 kB / 332.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.008267, allocations: 395.7 kB / 333.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.605e-05/0.008323, allocations: 97.3 kB / 333.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.008359, allocations: 16.78 kB / 333.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008359, allocations: 0 / 333.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of Templates: time 0.002444/0.0108, allocations: 1.641 MB / 334.9 MB, free: 5.906 MB / 298.7 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: 3.882380485534668]