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.001461/0.001461, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001576/0.001576, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.477/1.477, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.4071/0.4071, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 2.424e-06/2.424e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.607e-05, allocations: 2.312 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004763/0.004799, allocations: 2.837 MB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.007061, allocations: 1.005 MB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.007294, allocations: 7.938 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.007514, allocations: 71.31 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.00783, allocations: 134.8 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.008443, allocations: 171.5 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.009061, allocations: 481.5 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.009287, allocations: 79.92 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.009656, allocations: 251.4 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.009908, allocations: 119.7 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.009971, allocations: 32 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.01013, allocations: 51.97 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.01022, allocations: 79.67 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.0104, allocations: 135.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.01105, allocations: 446.5 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01106, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01106, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01107, allocations: 4 kB / 383 MB, free: 13.04 MB / 362.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.001216/0.01228, allocations: 0.591 MB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.01233, allocations: 8.031 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.01274, allocations: 96.58 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.0132, allocations: 233.2 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.01324, allocations: 29.38 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.01332, allocations: 40.33 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.01403, allocations: 368 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.01406, allocations: 12.12 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.01411, allocations: 19.94 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.01412, allocations: 8 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.01474, allocations: 219.7 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.01721, allocations: 1.398 MB / 386 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.01789, allocations: 295.6 kB / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.01808, allocations: 97.16 kB / 386.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.01812, allocations: 15.94 kB / 386.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.01816, allocations: 42.48 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.01817, allocations: 0 / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008865/0.01905, allocations: 273.2 kB / 386.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.0192, allocations: 195.9 kB / 386.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.01947, allocations: 229.8 kB / 387.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.0195, allocations: 29.7 kB / 387.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.01971, allocations: 228.2 kB / 387.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.01981, allocations: 111.2 kB / 387.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.01994, allocations: 78.14 kB / 387.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.02014, allocations: 338.8 kB / 387.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.02034, allocations: 84.95 kB / 388 MB, free: 7.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.0207, allocations: 246.4 kB / 388.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.02128, allocations: 361.1 kB / 388.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.02128, allocations: 4 kB / 388.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007647/0.02205, allocations: 405.1 kB / 389 MB, free: 6.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.02207, allocations: 11.94 kB / 389 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.02209, allocations: 4 kB / 389 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.02212, allocations: 8 kB / 389 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.02253, allocations: 107.8 kB / 389.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.02255, allocations: 15.92 kB / 389.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.02278, allocations: 39.73 kB / 389.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.02282, allocations: 20.34 kB / 389.2 MB, free: 6.379 MB / 362.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.00019/0.02301, allocations: 161.7 kB / 389.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.02316, allocations: 39.78 kB / 389.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.02336, allocations: 91.45 kB / 389.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.02337, allocations: 4 kB / 389.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.02338, allocations: 4 kB / 389.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02338, allocations: 0 / 389.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.02406, allocations: 249.1 kB / 389.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02406, allocations: 0 / 389.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.02452, allocations: 83.89 kB / 389.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.02453, allocations: 8 kB / 389.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.02456, allocations: 11.94 kB / 389.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02456, allocations: 320 / 389.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.02457, allocations: 7.938 kB / 389.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/0.02556, allocations: 0.7742 MB / 390.6 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.02561, allocations: 28.5 kB / 390.7 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.02566, allocations: 15.92 kB / 390.7 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.02599, allocations: 8 kB / 390.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.02606, allocations: 19.91 kB / 390.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.02608, allocations: 12 kB / 390.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.02626, allocations: 161.2 kB / 390.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02626, allocations: 3.938 kB / 390.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006755/0.02693, allocations: 103.8 kB / 391 MB, free: 4.543 MB / 362.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.0001467/0.02708, allocations: 103.7 kB / 391.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.02762, allocations: 221.4 kB / 391.3 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02762, allocations: 0 / 391.3 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.02783, allocations: 100.1 kB / 391.4 MB, free: 4.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.02879, allocations: 82 kB / 391.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.03094, allocations: 1.032 MB / 392.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.0312, allocations: 190.5 kB / 392.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.03137, allocations: 38.95 kB / 392.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.03145, allocations: 24.5 kB / 392.8 MB, free: 2.699 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03145, allocations: 4 kB / 392.8 MB, free: 2.695 MB / 362.7 MB Notification: Performance of Templates: time 0.008217/0.03967, allocations: 3.043 MB / 395.8 MB, free: 15.72 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.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.93223598098848]