Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.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.001037/0.001037, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.00273, allocations: 449.7 kB / 10.37 MB, free: 328 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.001029/0.001029, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002445, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.065/1.065, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.165, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2817/0.2817, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02549/0.3072, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.465e-05, allocations: 7.188 kB / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002979/0.003003, allocations: 3.09 MB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.00459, allocations: 1.095 MB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.00477, allocations: 15.88 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.004873, allocations: 55.39 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.005059, allocations: 130.8 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.005466, allocations: 175.4 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.005956, allocations: 477.5 kB / 297.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.006121, allocations: 80.62 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.006427, allocations: 269.8 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.006581, allocations: 135.6 kB / 298.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.006617, allocations: 32 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.006742, allocations: 51.98 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.006786, allocations: 55.75 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.006887, allocations: 115.8 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.007219, allocations: 290.9 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.921e-05/0.007238, allocations: 4 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.00724, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.007257, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007897/0.008047, allocations: 0.6539 MB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.008082, allocations: 8.031 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.008365, allocations: 166 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.00864, allocations: 205.2 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.008667, allocations: 25.38 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.008719, allocations: 48.3 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.009016, allocations: 296.8 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.009036, allocations: 4.172 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.009055, allocations: 19.94 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.009064, allocations: 8 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.009206, allocations: 115.6 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.01039, allocations: 1.223 MB / 301.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.01066, allocations: 219.3 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.01072, allocations: 69.14 kB / 301.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.01075, allocations: 7.938 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.01078, allocations: 38.56 kB / 301.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.01078, allocations: 0 / 301.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.000283/0.01106, allocations: 162 kB / 301.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.01113, allocations: 191.8 kB / 302 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.01127, allocations: 237 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.01129, allocations: 29.7 kB / 302.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.01137, allocations: 204.2 kB / 302.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.01143, allocations: 115.2 kB / 302.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.01151, allocations: 74.16 kB / 302.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01162, allocations: 342.8 kB / 303 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.01167, allocations: 32.97 kB / 303.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01179, allocations: 202.4 kB / 303.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.012, allocations: 289 kB / 303.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.012, allocations: 0 / 303.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002459/0.01225, allocations: 253.8 kB / 303.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.01226, allocations: 11.98 kB / 303.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.01227, allocations: 4 kB / 303.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01229, allocations: 11.94 kB / 303.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.01257, allocations: 131.9 kB / 303.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.01258, allocations: 15.92 kB / 304 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.0127, allocations: 43.67 kB / 304 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01271, allocations: 20 kB / 304 MB, free: 10.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.0001083/0.01282, allocations: 137.7 kB / 304.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.0129, allocations: 31.91 kB / 304.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.01304, allocations: 75.45 kB / 304.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01304, allocations: 4 kB / 304.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.01305, allocations: 4 kB / 304.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.01305, allocations: 3.984 kB / 304.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.01341, allocations: 177.6 kB / 304.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01342, allocations: 4 kB / 304.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.01365, allocations: 107.8 kB / 304.6 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.01367, allocations: 23.8 kB / 304.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01368, allocations: 8 kB / 304.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01369, allocations: 7.984 kB / 304.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.0137, allocations: 4 kB / 304.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.0137, allocations: 4.25 kB / 304.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.01409, allocations: 0.6534 MB / 305.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01412, allocations: 8 kB / 305.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.01427, allocations: 4 kB / 305.3 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01432, allocations: 31.83 kB / 305.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01433, allocations: 8 kB / 305.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.01438, allocations: 74.78 kB / 305.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01438, allocations: 0 / 305.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.01477, allocations: 95.84 kB / 305.5 MB, free: 8.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.phi,eddyCurrentTorque.phi,inertia5.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 (27): * Single equations (assignments): 27 * 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.0001918/0.01496, allocations: 92.73 kB / 305.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01518, allocations: 179.3 kB / 305.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.0152, allocations: 8.062 kB / 305.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.01526, allocations: 72.69 kB / 305.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.01579, allocations: 101.8 kB / 305.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.02037, allocations: 0.7873 MB / 306.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.02047, allocations: 108.6 kB / 306.8 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.02059, allocations: 38.95 kB / 306.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.02074, allocations: 107.3 kB / 307 MB, free: 7.309 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02074, allocations: 0 / 307 MB, free: 7.309 MB / 298.7 MB Notification: Performance of Templates: time 0.007295/0.02804, allocations: 3.751 MB / 310.7 MB, free: 3.672 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.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.922170991078019]