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.0008399/0.0008399, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003326/0.003326, allocations: 151.5 kB / 24.69 MB, free: 9.438 MB / 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 0.9153/0.9153, allocations: 177 MB / 204.9 MB, free: 5.773 MB / 186.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.2536/0.2536, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.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.463e-06/1.463e-06, allocations: 0 / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.552e-05, allocations: 4.812 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.2526/0.2527, allocations: 2.834 MB / 446.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2541, allocations: 1.011 MB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2542, allocations: 13.72 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2544, allocations: 58.12 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2545, allocations: 135.7 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.2549, allocations: 182.1 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.2552, allocations: 472.5 kB / 448.1 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2554, allocations: 75.11 kB / 448.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2555, allocations: 254 kB / 448.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2557, allocations: 132.4 kB / 448.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.2557, allocations: 29.06 kB / 448.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.287e-05/0.2558, allocations: 58.3 kB / 448.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.2558, allocations: 72.12 kB / 448.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.2559, allocations: 138.8 kB / 448.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.2562, allocations: 440.5 kB / 449.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2562, allocations: 2.812 kB / 449.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2562, allocations: 0 / 449.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2562, allocations: 0 / 449.2 MB, free: 41.76 MB / 410.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.0006151/0.2568, allocations: 0.5967 MB / 449.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2569, allocations: 8.406 kB / 449.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.257, allocations: 66.22 kB / 449.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.2573, allocations: 225.2 kB / 450.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2573, allocations: 30.28 kB / 450.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.2574, allocations: 38.67 kB / 450.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.2577, allocations: 362 kB / 450.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2577, allocations: 10.92 kB / 450.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2578, allocations: 17.59 kB / 450.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2578, allocations: 8.406 kB / 450.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.258, allocations: 220.2 kB / 450.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.2591, allocations: 1.387 MB / 452.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.2594, allocations: 301.5 kB / 452.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.2595, allocations: 91.91 kB / 452.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2595, allocations: 6.406 kB / 452.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.2595, allocations: 48.28 kB / 452.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.2595, allocations: 0 / 452.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003813/0.2599, allocations: 268.2 kB / 452.9 MB, free: 39.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2599, allocations: 193 kB / 453.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2601, allocations: 233.3 kB / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2601, allocations: 29.7 kB / 453.3 MB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.2601, allocations: 224 kB / 453.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2602, allocations: 108.8 kB / 453.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.2602, allocations: 75.61 kB / 453.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.2603, allocations: 340.7 kB / 454.1 MB, free: 38.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.2604, allocations: 81.16 kB / 454.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2605, allocations: 258.1 kB / 454.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.2608, allocations: 346 kB / 454.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2608, allocations: 5.094 kB / 454.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003338/0.2611, allocations: 388.6 kB / 455.1 MB, free: 37.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2612, allocations: 10.34 kB / 455.1 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2612, allocations: 5.938 kB / 455.1 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2612, allocations: 12.88 kB / 455.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.2613, allocations: 105.5 kB / 455.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2614, allocations: 12.56 kB / 455.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2615, allocations: 52.47 kB / 455.3 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2615, allocations: 21.25 kB / 455.3 MB, free: 37.43 MB / 410.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 9.266e-05/0.2616, allocations: 151.8 kB / 455.5 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.2616, allocations: 29.33 kB / 455.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2618, allocations: 92.08 kB / 455.6 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2618, allocations: 6.781 kB / 455.6 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2618, allocations: 2.75 kB / 455.6 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2618, allocations: 9.078 kB / 455.6 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.2621, allocations: 253.5 kB / 455.9 MB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2621, allocations: 3.156 kB / 455.9 MB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2623, allocations: 79.61 kB / 456 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2623, allocations: 2.844 kB / 456 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2623, allocations: 13.78 kB / 456 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2623, allocations: 5.969 kB / 456 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2623, allocations: 0 / 456 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2627, allocations: 0.7606 MB / 456.7 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2627, allocations: 29 kB / 456.8 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2628, allocations: 13.59 kB / 456.8 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2629, allocations: 10.2 kB / 456.8 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.263, allocations: 22.36 kB / 456.8 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.263, allocations: 5.719 kB / 456.8 MB, free: 36.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.11e-05/0.263, allocations: 169.1 kB / 457 MB, free: 36.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.263, allocations: 0 / 457 MB, free: 36.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.2634, allocations: 98.28 kB / 457.1 MB, free: 36.23 MB / 410.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 6.78e-05/0.2634, allocations: 101.7 kB / 457.2 MB, free: 36.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2637, allocations: 230.6 kB / 457.4 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2637, allocations: 1.25 kB / 457.4 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.2638, allocations: 86.64 kB / 457.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.2643, allocations: 90.94 kB / 457.6 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.2652, allocations: 1.047 MB / 458.6 MB, free: 35.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2653, allocations: 195.9 kB / 458.8 MB, free: 35.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2654, allocations: 28.84 kB / 458.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2654, allocations: 0 / 458.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003421/0.2688, allocations: 4.281 MB / 463.1 MB, free: 34.63 MB / 410.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: 5.367669699713588]