Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.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.0007451/0.0007451, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001812, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000668/0.000668, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008899/0.001558, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.074/1.074, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.175, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2884/0.2884, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02484/0.3133, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 294.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.374e-05, allocations: 12.66 kB / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002798/0.002812, allocations: 3.081 MB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.004085, allocations: 1.091 MB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.004209, allocations: 11.94 kB / 298.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.004315, allocations: 59.38 kB / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.004457, allocations: 134.8 kB / 298.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.004716, allocations: 175.5 kB / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.005036, allocations: 473.5 kB / 299.1 MB, free: 100 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.005169, allocations: 80.56 kB / 299.2 MB, free: 8 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.00539, allocations: 279.4 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.005538, allocations: 131.6 kB / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.005572, allocations: 28 kB / 299.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.005675, allocations: 55.97 kB / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.005716, allocations: 59.75 kB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.005955, allocations: 111.8 kB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.00623, allocations: 294.8 kB / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.006242, allocations: 0 / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006243, allocations: 0 / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.006255, allocations: 0 / 300.1 MB, free: 15.07 MB / 298.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.0007345/0.00699, allocations: 0.6491 MB / 300.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.007028, allocations: 12.92 kB / 300.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.007288, allocations: 162 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.007519, allocations: 213.2 kB / 301.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.007541, allocations: 25.38 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.007585, allocations: 44.33 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.007851, allocations: 296.8 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.007868, allocations: 4.188 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.007891, allocations: 19.94 kB / 301.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.007901, allocations: 12 kB / 301.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.008028, allocations: 111.7 kB / 301.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.009023, allocations: 1.227 MB / 302.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.009262, allocations: 227.3 kB / 303.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.009313, allocations: 61.14 kB / 303.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.00933, allocations: 4 kB / 303.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.009356, allocations: 50.48 kB / 303.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.009358, allocations: 0 / 303.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005124/0.00987, allocations: 165.5 kB / 303.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.009927, allocations: 187.9 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.01004, allocations: 224.9 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.01005, allocations: 25.83 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.01012, allocations: 208.2 kB / 304 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.01018, allocations: 119 kB / 304.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.01024, allocations: 74.12 kB / 304.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.01032, allocations: 346.7 kB / 304.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.01036, allocations: 36.97 kB / 304.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01046, allocations: 210.3 kB / 304.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01065, allocations: 290.5 kB / 305 MB, free: 9.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01066, allocations: 0 / 305 MB, free: 9.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002159/0.01087, allocations: 253.3 kB / 305.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01089, allocations: 10.81 kB / 305.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01089, allocations: 4 kB / 305.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01091, allocations: 11.94 kB / 305.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.01115, allocations: 136 kB / 305.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01116, allocations: 8 kB / 305.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01126, allocations: 39.77 kB / 305.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01127, allocations: 16 kB / 305.5 MB, free: 9.18 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 7.721e-05/0.01135, allocations: 145.9 kB / 305.6 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.01142, allocations: 32.66 kB / 305.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.523e-05/0.01151, allocations: 79.39 kB / 305.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01152, allocations: 4 kB / 305.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01152, allocations: 4 kB / 305.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01152, allocations: 0 / 305.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.01183, allocations: 173.6 kB / 305.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01183, allocations: 4 kB / 305.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.01206, allocations: 112.1 kB / 306 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.01208, allocations: 27.78 kB / 306.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01208, allocations: 4 kB / 306.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.0121, allocations: 12 kB / 306.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.0121, allocations: 3.984 kB / 306.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.0121, allocations: 4 kB / 306.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.01239, allocations: 0.6532 MB / 306.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01241, allocations: 8 kB / 306.8 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.01256, allocations: 8 kB / 306.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.01259, allocations: 11.97 kB / 306.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.0126, allocations: 19.98 kB / 306.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.01265, allocations: 74.77 kB / 306.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 306.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.01296, allocations: 95.78 kB / 307 MB, free: 7.66 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 7.215e-05/0.01303, allocations: 88.3 kB / 307 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.01321, allocations: 181.9 kB / 307.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.01322, allocations: 4 kB / 307.2 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.01329, allocations: 92.55 kB / 307.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.01399, allocations: 0.807 MB / 308.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.01821, allocations: 0.7805 MB / 308.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.102e-05/0.0183, allocations: 112.6 kB / 309 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.277e-05/0.01839, allocations: 34.95 kB / 309 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01853, allocations: 119.3 kB / 309.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01853, allocations: 0 / 309.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of Templates: time 0.005814/0.02435, allocations: 3.63 MB / 312.8 MB, free: 1.699 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.77794932667166]