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.001398/0.001398, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001398/0.001398, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.946/0.946, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.292e-06/1.292e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.958e-05, allocations: 5.828 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002547/0.002567, allocations: 1.807 MB / 271 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.003501, allocations: 0.6187 MB / 271.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003579, allocations: 4.938 kB / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.00369, allocations: 11.86 kB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.003767, allocations: 49.69 kB / 271.7 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.00396, allocations: 43.86 kB / 271.7 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004102, allocations: 119.3 kB / 271.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.004201, allocations: 35.84 kB / 271.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.004281, allocations: 61.02 kB / 271.9 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.004366, allocations: 39.89 kB / 272 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.004383, allocations: 8 kB / 272 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.004446, allocations: 24.52 kB / 272 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.00447, allocations: 20.52 kB / 272 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.004509, allocations: 39.91 kB / 272.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.00467, allocations: 97.41 kB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004672, allocations: 0 / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004672, allocations: 0 / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004676, allocations: 0 / 272.1 MB, free: 6.832 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.0004029/0.005079, allocations: 425.1 kB / 272.6 MB, free: 6.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.005111, allocations: 9.281 kB / 272.6 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.005274, allocations: 40.77 kB / 272.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005422, allocations: 148.9 kB / 272.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.005434, allocations: 9.062 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.005454, allocations: 8.875 kB / 272.8 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005569, allocations: 80.41 kB / 272.9 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.005581, allocations: 7.938 kB / 272.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.00559, allocations: 0 / 272.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.005595, allocations: 4 kB / 272.9 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.005664, allocations: 27.97 kB / 272.9 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.006169, allocations: 411.3 kB / 273.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.006326, allocations: 67.11 kB / 273.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.006352, allocations: 19.69 kB / 273.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.00636, allocations: 7.938 kB / 273.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.006381, allocations: 33.39 kB / 273.4 MB, free: 5.441 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.006382, allocations: 0 / 273.4 MB, free: 5.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001517/0.006533, allocations: 77.77 kB / 273.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.006562, allocations: 55.41 kB / 273.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.006642, allocations: 177.9 kB / 273.7 MB, free: 5.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006655, allocations: 33.62 kB / 273.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.006715, allocations: 154.7 kB / 273.9 MB, free: 4.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.00674, allocations: 35.72 kB / 273.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.006784, allocations: 31.36 kB / 274 MB, free: 4.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.006905, allocations: 0.4961 MB / 274.5 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.006926, allocations: 11.98 kB / 274.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.006971, allocations: 50.66 kB / 274.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.007043, allocations: 74.61 kB / 274.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007045, allocations: 0 / 274.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001203/0.007166, allocations: 93.5 kB / 274.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007177, allocations: 4 kB / 274.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.007181, allocations: 4.094 kB / 274.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.00719, allocations: 4 kB / 274.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.007271, allocations: 23.98 kB / 274.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007274, allocations: 0 / 274.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.007316, allocations: 15.89 kB / 274.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.007323, allocations: 4 kB / 274.7 MB, free: 4.004 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 7.203e-05/0.007395, allocations: 164.5 kB / 274.9 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007421, allocations: 8 kB / 274.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.007449, allocations: 8.438 kB / 274.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.007451, allocations: 0 / 274.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007454, allocations: 7.984 kB / 274.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007457, allocations: 4 kB / 274.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.007598, allocations: 125.1 kB / 275.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007599, allocations: 0 / 275.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.007682, allocations: 19.98 kB / 275.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007684, allocations: 4 kB / 275.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007693, allocations: 4 kB / 275.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007694, allocations: 0 / 275.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007694, allocations: 0 / 275.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.007869, allocations: 239.7 kB / 275.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.007882, allocations: 15.92 kB / 275.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.007895, allocations: 4 kB / 275.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.007952, allocations: 4 kB / 275.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.007966, allocations: 7.922 kB / 275.4 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.00797, allocations: 4 kB / 275.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.008016, allocations: 139.5 kB / 275.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008016, allocations: 0 / 275.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00023/0.008246, allocations: 24 kB / 275.5 MB, free: 3.176 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 7.329e-05/0.008319, allocations: 95.64 kB / 275.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.008414, allocations: 51.59 kB / 275.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008415, allocations: 4 kB / 275.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.008446, allocations: 31.59 kB / 275.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.00871, allocations: 22.84 kB / 275.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.00942, allocations: 358.3 kB / 276.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.009463, allocations: 63.34 kB / 276.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.009508, allocations: 16.47 kB / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.009579, allocations: 86.19 kB / 276.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00958, allocations: 0 / 276.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of Templates: time 0.002997/0.01258, allocations: 1.03 MB / 277.3 MB, free: 1.395 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.6892110309563577]