Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001125/0.001125, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.002815, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001035/0.001035, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002482, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9236/0.9236, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08334/1.007, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.837e-05, allocations: 6.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002343/0.002361, allocations: 2.078 MB / 246.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.003053, allocations: 0.6893 MB / 247.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.003116, allocations: 3.938 kB / 247.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/0.003176, allocations: 15.8 kB / 247.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.003237, allocations: 51.61 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.003351, allocations: 51.81 kB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003488, allocations: 155.2 kB / 247.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.003577, allocations: 21.95 kB / 247.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.003687, allocations: 99.73 kB / 247.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.00376, allocations: 39.89 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003777, allocations: 8 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.003851, allocations: 35.91 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003873, allocations: 19.94 kB / 248 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.003903, allocations: 31.94 kB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.00406, allocations: 107.6 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.004069, allocations: 0 / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004069, allocations: 3.938 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.004078, allocations: 0 / 248.1 MB, free: 10.81 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004201/0.004498, allocations: 367.9 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.004525, allocations: 8.031 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.004688, allocations: 114 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004816, allocations: 137.6 kB / 248.7 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004827, allocations: 12.38 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.004847, allocations: 8.375 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.004967, allocations: 99.55 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004976, allocations: 192 / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.004987, allocations: 11.94 kB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004992, allocations: 0 / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.005048, allocations: 33.89 kB / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.005456, allocations: 334.9 kB / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.005591, allocations: 62.55 kB / 249.3 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.005613, allocations: 16.86 kB / 249.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.005621, allocations: 4 kB / 249.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.005641, allocations: 34.55 kB / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.22e-07/0.005642, allocations: 0 / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001268/0.005769, allocations: 65.81 kB / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.005794, allocations: 59.39 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.005863, allocations: 144.9 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.005874, allocations: 29.7 kB / 249.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.005916, allocations: 104.2 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.005938, allocations: 39.67 kB / 249.8 MB, free: 9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.005971, allocations: 33.7 kB / 249.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.006038, allocations: 318.8 kB / 250.1 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.006053, allocations: 11.94 kB / 250.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.006085, allocations: 43.41 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.006137, allocations: 59.28 kB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006139, allocations: 4 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.982e-05/0.006218, allocations: 77.61 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.006228, allocations: 4 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006234, allocations: 7.984 kB / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.006243, allocations: 0 / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.006356, allocations: 39.86 kB / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.006361, allocations: 4 kB / 250.3 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.006396, allocations: 11.94 kB / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006401, allocations: 4 kB / 250.4 MB, free: 8.348 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 (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 5.108e-05/0.006452, allocations: 117.9 kB / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.006469, allocations: 8 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.006491, allocations: 12.78 kB / 250.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.006495, allocations: 7.984 kB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006498, allocations: 3.938 kB / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.0065, allocations: 0 / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.797e-05/0.006598, allocations: 97.75 kB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006599, allocations: 0 / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.006684, allocations: 39.95 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.006693, allocations: 7.953 kB / 250.7 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006694, allocations: 4 kB / 250.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006701, allocations: 3.938 kB / 250.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006703, allocations: 3.938 kB / 250.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006703, allocations: 4 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.006828, allocations: 179.6 kB / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006839, allocations: 0 / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.006881, allocations: 8 kB / 250.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.006906, allocations: 11.92 kB / 250.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.00691, allocations: 4 kB / 250.9 MB, free: 7.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.006928, allocations: 25.61 kB / 250.9 MB, free: 7.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006928, allocations: 4 kB / 250.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.007066, allocations: 35.89 kB / 250.9 MB, free: 7.734 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 (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 6.535e-05/0.007131, allocations: 84.41 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.007207, allocations: 52.66 kB / 251.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.007211, allocations: 0 / 251.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.007244, allocations: 32.78 kB / 251.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.007463, allocations: 250.6 kB / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.009478, allocations: 340.6 kB / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.009512, allocations: 67.34 kB / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.009552, allocations: 8.969 kB / 251.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.009625, allocations: 71.36 kB / 251.8 MB, free: 6.738 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009626, allocations: 4 kB / 251.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of Templates: time 0.00266/0.01229, allocations: 1.418 MB / 253.2 MB, free: 5.355 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4690359802916646]