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.002432/0.002432, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002693/0.002693, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 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 1.5/1.5, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.903e-06/1.903e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.771e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.005275/0.005302, allocations: 1.779 MB / 269.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.007466, allocations: 0.6349 MB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.007577, allocations: 3.938 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.007736, allocations: 15.86 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.007874, allocations: 39.64 kB / 269.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.008202, allocations: 43.81 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.008503, allocations: 127.3 kB / 269.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.008643, allocations: 12 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.008839, allocations: 75.8 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.00899, allocations: 35.89 kB / 270.1 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.009027, allocations: 12 kB / 270.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.009149, allocations: 23.94 kB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.009199, allocations: 19.92 kB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.027e-05/0.00929, allocations: 39.91 kB / 270.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.009657, allocations: 131.6 kB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.009662, allocations: 0 / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.009663, allocations: 0 / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.009668, allocations: 0 / 270.3 MB, free: 3.75 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.0009394/0.01061, allocations: 440 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.01066, allocations: 8.031 kB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.01101, allocations: 48.75 kB / 270.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01134, allocations: 132.5 kB / 270.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.01137, allocations: 16.5 kB / 270.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.01142, allocations: 16.36 kB / 270.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.01173, allocations: 89.72 kB / 271 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.01176, allocations: 4 kB / 271 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.01178, allocations: 4 kB / 271 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.01178, allocations: 0 / 271 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.01204, allocations: 59.97 kB / 271.1 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.01334, allocations: 454.7 kB / 271.5 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.01379, allocations: 91 kB / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.01389, allocations: 27.69 kB / 271.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.0139, allocations: 0 / 271.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.01397, allocations: 41.42 kB / 271.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.01397, allocations: 0 / 271.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004476/0.01442, allocations: 105.7 kB / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.01449, allocations: 55.41 kB / 271.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.01475, allocations: 185.8 kB / 272 MB, free: 1.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.01479, allocations: 33.64 kB / 272 MB, free: 1.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.01496, allocations: 158.7 kB / 272.2 MB, free: 1.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.01503, allocations: 31.7 kB / 272.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.01513, allocations: 35.36 kB / 272.3 MB, free: 1.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004135/0.01554, allocations: 0.4922 MB / 272.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.01564, allocations: 23.98 kB / 272.8 MB, free: 1.043 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01581, allocations: 62.73 kB / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.0161, allocations: 102.6 kB / 272.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.0161, allocations: 0 / 272.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003729/0.01647, allocations: 113.5 kB / 273.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.01649, allocations: 4 kB / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.0165, allocations: 0 / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.01652, allocations: 4 kB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.01676, allocations: 27.98 kB / 273.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01677, allocations: 3.938 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01688, allocations: 15.98 kB / 273.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01689, allocations: 4 kB / 273.1 MB, free: 0.6719 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 0.000207/0.0171, allocations: 168.5 kB / 273.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.01716, allocations: 7.984 kB / 273.3 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.01724, allocations: 16.44 kB / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01724, allocations: 0 / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01724, allocations: 0 / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01725, allocations: 0 / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.01763, allocations: 160.5 kB / 273.5 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01763, allocations: 0 / 273.5 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.01788, allocations: 27.92 kB / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01788, allocations: 0 / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.0179, allocations: 4 kB / 273.5 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.01791, allocations: 4 kB / 273.5 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01791, allocations: 0 / 273.5 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.01847, allocations: 263.8 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.0185, allocations: 7.984 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.01857, allocations: 8 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01869, allocations: 0 / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01872, allocations: 7.922 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01873, allocations: 4 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01886, allocations: 143.2 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01886, allocations: 4 kB / 273.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.01921, allocations: 23.94 kB / 273.9 MB, free: 15.77 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 (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 0.0001297/0.01934, allocations: 99.19 kB / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01953, allocations: 71.59 kB / 274.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01954, allocations: 0 / 274.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.01959, allocations: 31.69 kB / 274.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.01996, allocations: 28.53 kB / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.0207, allocations: 354.2 kB / 274.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.0208, allocations: 92.22 kB / 274.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.02085, allocations: 12.47 kB / 274.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.02089, allocations: 12.5 kB / 274.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02089, allocations: 0 / 274.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Templates: time 0.004153/0.02504, allocations: 0.942 MB / 275.6 MB, free: 14.09 MB / 266.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","/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: 4.360850994009525]