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.0007979/0.0007979, allocations: 84 kB / 21.43 MB, free: 3.129 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.003259/0.003259, allocations: 144.8 kB / 24.68 MB, free: 8.91 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.8375/0.8375, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.603e-06/1.603e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.065e-05, allocations: 6.219 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001893/0.001914, allocations: 1.705 MB / 321.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.002586, allocations: 0.6115 MB / 322 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.002667, allocations: 4 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.002769, allocations: 15.86 kB / 322 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.002824, allocations: 43.52 kB / 322.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.003053, allocations: 51.8 kB / 322.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.00319, allocations: 119.3 kB / 322.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.003301, allocations: 23.91 kB / 322.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.003374, allocations: 63.89 kB / 322.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.497e-05/0.003449, allocations: 35.89 kB / 322.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.003467, allocations: 8 kB / 322.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.059e-05/0.003528, allocations: 31.92 kB / 322.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.003545, allocations: 15.97 kB / 322.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.003588, allocations: 35.92 kB / 322.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.003772, allocations: 131.5 kB / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.003776, allocations: 4 kB / 322.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.003778, allocations: 0 / 322.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.003784, allocations: 0 / 322.6 MB, free: 2.941 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.0004554/0.004239, allocations: 330 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004276, allocations: 8.031 kB / 322.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.004404, allocations: 32.83 kB / 322.9 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004566, allocations: 141.6 kB / 323.1 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.004576, allocations: 4.562 kB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.004605, allocations: 12.38 kB / 323.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.004755, allocations: 97.34 kB / 323.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.004766, allocations: 4 kB / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.004777, allocations: 0 / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004782, allocations: 0 / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.00488, allocations: 63.91 kB / 323.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.005359, allocations: 383.5 kB / 323.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.00555, allocations: 74.59 kB / 323.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.005583, allocations: 28.89 kB / 323.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.005592, allocations: 0 / 323.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.005609, allocations: 42.5 kB / 323.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.00561, allocations: 0 / 323.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001748/0.005785, allocations: 89.88 kB / 323.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005812, allocations: 63.39 kB / 323.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.005879, allocations: 113.8 kB / 324 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.00589, allocations: 29.7 kB / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.00594, allocations: 104 kB / 324.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.005963, allocations: 43.83 kB / 324.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.005992, allocations: 25.66 kB / 324.2 MB, free: 1.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.006065, allocations: 322.8 kB / 324.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.006095, allocations: 20 kB / 324.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.00614, allocations: 59.3 kB / 324.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.006218, allocations: 83.36 kB / 324.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00622, allocations: 0 / 324.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001085/0.006329, allocations: 105.6 kB / 324.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006343, allocations: 8 kB / 324.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006347, allocations: 80 / 324.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006358, allocations: 0 / 324.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.006425, allocations: 27.92 kB / 324.8 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.006431, allocations: 7.984 kB / 324.8 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.006459, allocations: 4 kB / 324.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.006464, allocations: 8.094 kB / 324.9 MB, free: 464 kB / 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.137e-05/0.006526, allocations: 125.7 kB / 325 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.006541, allocations: 11.94 kB / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006568, allocations: 16.38 kB / 325 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006569, allocations: 0 / 325 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.006573, allocations: 0 / 325 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.006576, allocations: 0 / 325 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006682, allocations: 141.2 kB / 325.1 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.006683, allocations: 0 / 325.1 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.006747, allocations: 19.98 kB / 325.2 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006749, allocations: 8 kB / 325.2 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.006759, allocations: 4 kB / 325.2 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00676, allocations: 0 / 325.2 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006761, allocations: 96 / 325.2 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.006953, allocations: 219.3 kB / 325.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006961, allocations: 3.953 kB / 325.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.006974, allocations: 7.938 kB / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.00701, allocations: 0 / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.007026, allocations: 8.031 kB / 325.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.00703, allocations: 4 kB / 325.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.007063, allocations: 91.27 kB / 325.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007063, allocations: 7.938 kB / 325.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.007217, allocations: 27.94 kB / 325.5 MB, free: 15.71 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 (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.867e-05/0.007285, allocations: 95.25 kB / 325.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007388, allocations: 55.92 kB / 325.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.007391, allocations: 4 kB / 325.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.007418, allocations: 27.92 kB / 325.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.007633, allocations: 12.12 kB / 325.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.008323, allocations: 363.2 kB / 326.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.008377, allocations: 96.25 kB / 326.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.008405, allocations: 16.5 kB / 326.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008406, allocations: 0 / 326.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Templates: time 0.001891/0.0103, allocations: 1.378 MB / 327.6 MB, free: 13.62 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.953427623026073]