Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.011/1.011, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 7.938 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.506e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003985/0.00402, allocations: 2.032 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.005312, allocations: 0.6817 MB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.005401, allocations: 4 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.00552, allocations: 15.8 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.005591, allocations: 43.62 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.005834, allocations: 63.78 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.005997, allocations: 151.2 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006111, allocations: 25.3 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.006228, allocations: 79.8 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.006308, allocations: 39.84 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.00633, allocations: 12 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.006401, allocations: 23.98 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.006427, allocations: 27.91 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.006468, allocations: 39.91 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.006668, allocations: 119.6 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006671, allocations: 4 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006672, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.006678, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.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.0007569/0.007435, allocations: 464 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.007474, allocations: 11.98 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.007655, allocations: 40.83 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.007822, allocations: 148.4 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.007835, allocations: 12.38 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.007868, allocations: 12.38 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.008052, allocations: 102.8 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.008064, allocations: 192 / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.008079, allocations: 7.938 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.008089, allocations: 4 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.008186, allocations: 43.89 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.008774, allocations: 466.4 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.008979, allocations: 79.06 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.009019, allocations: 23.91 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.009031, allocations: 3.938 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.009052, allocations: 37.39 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.009054, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002086/0.009263, allocations: 97.73 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.00929, allocations: 51.41 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.009395, allocations: 189.9 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.009408, allocations: 33.7 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.009481, allocations: 162.9 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.009506, allocations: 39.67 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.009548, allocations: 31.38 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.009682, allocations: 0.4923 MB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.009718, allocations: 15.98 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.009776, allocations: 54.72 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.009863, allocations: 78.62 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009865, allocations: 0 / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001453/0.01001, allocations: 109.5 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01003, allocations: 4 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01003, allocations: 0 / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.01006, allocations: 7.938 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01017, allocations: 27.98 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01018, allocations: 0 / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.01022, allocations: 15.89 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01023, allocations: 4 kB / 279.1 MB, free: 11.01 MB / 266.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 9.332e-05/0.01032, allocations: 172.6 kB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.01035, allocations: 7.953 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.01038, allocations: 16.78 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01039, allocations: 7.875 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01039, allocations: 0 / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.01039, allocations: 0 / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01053, allocations: 148.6 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01053, allocations: 3.984 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.01062, allocations: 28 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01062, allocations: 3.984 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01063, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01064, allocations: 4 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01064, allocations: 3.938 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.01085, allocations: 251.7 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.01087, allocations: 15.89 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01088, allocations: 0 / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.01093, allocations: 4 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.01097, allocations: 11.92 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.01098, allocations: 4 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.01103, allocations: 146.4 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 0 / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.01121, allocations: 32 kB / 279.9 MB, free: 10.11 MB / 266.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 8.65e-05/0.01129, allocations: 91.25 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01143, allocations: 59.59 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01143, allocations: 0 / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.01147, allocations: 31.62 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.01171, allocations: 20.8 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.01264, allocations: 401.9 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.0127, allocations: 71.33 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.01275, allocations: 4.5 kB / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.0128, allocations: 12.5 kB / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0128, allocations: 4 kB / 280.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of Templates: time 0.003221/0.01602, allocations: 1.231 MB / 281.8 MB, free: 8.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.8559725410304964]