Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008634/0.0008634, allocations: 153.1 kB / 24.81 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9226/0.9226, allocations: 173.4 MB / 201.5 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 268.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.33e-05, allocations: 4.344 kB / 268.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003064/0.003087, allocations: 1.808 MB / 270.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.004128, allocations: 0.6202 MB / 270.8 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.004201, allocations: 7.938 kB / 270.8 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.004305, allocations: 17.45 kB / 270.8 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.004362, allocations: 35.7 kB / 270.9 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.004543, allocations: 48.3 kB / 270.9 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.004665, allocations: 128.1 kB / 271.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.004761, allocations: 31.86 kB / 271.1 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.004842, allocations: 60.62 kB / 271.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.004919, allocations: 39.89 kB / 271.2 MB, free: 7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.004936, allocations: 8.5 kB / 271.2 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.005001, allocations: 23.98 kB / 271.2 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.00502, allocations: 20.77 kB / 271.2 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.005049, allocations: 31.92 kB / 271.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.005201, allocations: 105.1 kB / 271.4 MB, free: 6.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005204, allocations: 3.984 kB / 271.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005205, allocations: 0 / 271.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.005208, allocations: 0 / 271.4 MB, free: 6.812 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003683/0.005576, allocations: 426.2 kB / 271.8 MB, free: 6.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.005607, allocations: 8.031 kB / 271.8 MB, free: 6.355 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.00575, allocations: 37.55 kB / 271.8 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.005872, allocations: 144.4 kB / 272 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.005884, allocations: 9.062 kB / 272 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005902, allocations: 12.38 kB / 272 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.006003, allocations: 80.39 kB / 272.1 MB, free: 6.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006012, allocations: 0 / 272.1 MB, free: 6.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006023, allocations: 8 kB / 272.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006028, allocations: 0 / 272.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.006077, allocations: 27.97 kB / 272.1 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.006486, allocations: 411.3 kB / 272.5 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.006625, allocations: 75 kB / 272.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.006649, allocations: 23.72 kB / 272.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.006656, allocations: 3.938 kB / 272.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.006674, allocations: 37.39 kB / 272.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.006675, allocations: 0 / 272.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001262/0.006801, allocations: 73.58 kB / 272.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.006823, allocations: 55.39 kB / 272.8 MB, free: 5.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.006891, allocations: 174 kB / 272.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.006901, allocations: 29.7 kB / 273 MB, free: 5.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.006953, allocations: 158.7 kB / 273.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.006971, allocations: 35.72 kB / 273.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.007004, allocations: 35.36 kB / 273.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.007111, allocations: 0.4961 MB / 273.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.007126, allocations: 8 kB / 273.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.00716, allocations: 49.73 kB / 273.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.541e-05/0.007215, allocations: 70.66 kB / 273.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007217, allocations: 0 / 273.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.798e-05/0.007305, allocations: 89.58 kB / 273.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007315, allocations: 8.031 kB / 273.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.007321, allocations: 7.984 kB / 273.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.007331, allocations: 0 / 273.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.007396, allocations: 23.94 kB / 273.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007399, allocations: 0 / 273.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.007429, allocations: 15.89 kB / 274 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.007434, allocations: 7.984 kB / 274 MB, free: 3.992 MB / 250.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 (13): * Single equations (assignments): 13 * 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.24e-05/0.007497, allocations: 160.5 kB / 274.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.007513, allocations: 8 kB / 274.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.007539, allocations: 8.438 kB / 274.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.007542, allocations: 8 kB / 274.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.007543, allocations: 0 / 274.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.007547, allocations: 0 / 274.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.007656, allocations: 121.1 kB / 274.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.007657, allocations: 0 / 274.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.007726, allocations: 35.92 kB / 274.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007728, allocations: 3.984 kB / 274.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.007735, allocations: 3.938 kB / 274.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007735, allocations: 0 / 274.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007736, allocations: 0 / 274.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.007881, allocations: 239.8 kB / 274.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.007891, allocations: 11.89 kB / 274.6 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.007902, allocations: 3.984 kB / 274.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.007938, allocations: 4 kB / 274.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.007949, allocations: 4 kB / 274.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.007952, allocations: 0 / 274.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.007987, allocations: 139.5 kB / 274.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007987, allocations: 0 / 274.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.008146, allocations: 24 kB / 274.7 MB, free: 3.172 MB / 250.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 (8): * Single equations (assignments): 8 * 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.796e-05/0.008214, allocations: 99.19 kB / 274.8 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.008294, allocations: 55.58 kB / 274.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008295, allocations: 0 / 274.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.008316, allocations: 28.06 kB / 274.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.008517, allocations: 24.06 kB / 274.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.009107, allocations: 366.3 kB / 275.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.00914, allocations: 63.34 kB / 275.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.009174, allocations: 8.5 kB / 275.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.009238, allocations: 86.19 kB / 275.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009239, allocations: 0 / 275.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of Templates: time 0.002326/0.01157, allocations: 1.015 MB / 276.5 MB, free: 1.398 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.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: 2.447853087913245]