Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008357/0.0008357, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008034/0.0008034, allocations: 156.5 kB / 25.44 MB, free: 8.855 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.8469/0.8469, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.512e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002047/0.002073, allocations: 1.713 MB / 301.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.002848, allocations: 0.6436 MB / 302 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.002929, allocations: 0 / 302 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.003049, allocations: 15.86 kB / 302.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.003112, allocations: 43.56 kB / 302.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.003336, allocations: 47.81 kB / 302.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003481, allocations: 123.3 kB / 302.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.003604, allocations: 19.92 kB / 302.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.003684, allocations: 71.88 kB / 302.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.003762, allocations: 31.91 kB / 302.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.003781, allocations: 8 kB / 302.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.003846, allocations: 23.98 kB / 302.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.003868, allocations: 23.91 kB / 302.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.003902, allocations: 27.94 kB / 302.5 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.004098, allocations: 135.6 kB / 302.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.0041, allocations: 0 / 302.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004101, allocations: 0 / 302.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004106, allocations: 3.938 kB / 302.6 MB, free: 3.988 MB / 282.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.0004454/0.004551, allocations: 338 kB / 302.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004591, allocations: 11.98 kB / 302.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.00472, allocations: 24.88 kB / 303 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.004905, allocations: 145.6 kB / 303.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004915, allocations: 0.5625 kB / 303.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.004947, allocations: 12.38 kB / 303.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005097, allocations: 98.34 kB / 303.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.00511, allocations: 3.953 kB / 303.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005122, allocations: 3.984 kB / 303.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005127, allocations: 8 kB / 303.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.005231, allocations: 59.91 kB / 303.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.006005, allocations: 379.4 kB / 303.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.006207, allocations: 78.59 kB / 303.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.006241, allocations: 24.89 kB / 303.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006251, allocations: 0 / 303.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.00627, allocations: 38.56 kB / 303.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.006271, allocations: 7.938 kB / 303.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001798/0.006451, allocations: 89.64 kB / 303.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.006481, allocations: 55.41 kB / 304 MB, free: 2.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.006548, allocations: 121.8 kB / 304.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006559, allocations: 25.7 kB / 304.1 MB, free: 2.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.006614, allocations: 107.9 kB / 304.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.006636, allocations: 39.88 kB / 304.2 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.006669, allocations: 21.72 kB / 304.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.006745, allocations: 322.8 kB / 304.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.006774, allocations: 20 kB / 304.6 MB, free: 1.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.006822, allocations: 67.36 kB / 304.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.006905, allocations: 79.36 kB / 304.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006907, allocations: 3.938 kB / 304.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000114/0.007022, allocations: 113.5 kB / 304.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.007037, allocations: 4 kB / 304.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.007046, allocations: 0 / 304.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.007066, allocations: 4 kB / 304.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.007144, allocations: 32.02 kB / 304.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.00715, allocations: 320 / 304.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.00718, allocations: 7.953 kB / 304.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.007188, allocations: 8 kB / 304.9 MB, free: 1.477 MB / 282.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.811e-05/0.007257, allocations: 121.7 kB / 305 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.007273, allocations: 7.953 kB / 305 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.007301, allocations: 16.42 kB / 305.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.007305, allocations: 7.938 kB / 305.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.00731, allocations: 0 / 305.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.007314, allocations: 0 / 305.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.00743, allocations: 137.2 kB / 305.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007431, allocations: 0 / 305.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.0075, allocations: 20 kB / 305.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007502, allocations: 0 / 305.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.007511, allocations: 3.984 kB / 305.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007512, allocations: 0 / 305.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007513, allocations: 0 / 305.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.007695, allocations: 215.4 kB / 305.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.007704, allocations: 7.953 kB / 305.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.007718, allocations: 0 / 305.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.007753, allocations: 3.938 kB / 305.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.007771, allocations: 16.03 kB / 305.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.007775, allocations: 0 / 305.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.007822, allocations: 91.66 kB / 305.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007822, allocations: 4 kB / 305.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.007983, allocations: 35.88 kB / 305.6 MB, free: 0.75 MB / 282.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 7.555e-05/0.008058, allocations: 91.25 kB / 305.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.008169, allocations: 59.86 kB / 305.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008171, allocations: 288 / 305.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.008198, allocations: 27.92 kB / 305.8 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.008447, allocations: 28.14 kB / 305.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.008952, allocations: 355.2 kB / 306.1 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.009002, allocations: 92.27 kB / 306.2 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.009031, allocations: 12.5 kB / 306.2 MB, free: 32 kB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009031, allocations: 0 / 306.2 MB, free: 32 kB / 282.7 MB Notification: Performance of Templates: time 0.001998/0.01103, allocations: 1.363 MB / 307.6 MB, free: 14.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.130846979096532]