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.001882/0.001882, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002118/0.002118, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.755/1.755, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 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.2199/0.2199, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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 2.244e-06/2.244e-06, allocations: 0 / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.448e-05, allocations: 4.672 kB / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.006058/0.006093, allocations: 2.822 MB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.008692, allocations: 1.02 MB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.008929, allocations: 11.88 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.009162, allocations: 59.39 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.009558, allocations: 138.8 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.01026, allocations: 171.5 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007636/0.01102, allocations: 473.5 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.0113, allocations: 83.86 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.01175, allocations: 251.5 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.01204, allocations: 127.6 kB / 447.8 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.01213, allocations: 32 kB / 447.8 MB, free: 132 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.01231, allocations: 47.98 kB / 447.8 MB, free: 84 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.01242, allocations: 75.67 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2354/0.2478, allocations: 133.1 kB / 448 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.2486, allocations: 446.6 kB / 448.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2486, allocations: 1.031 kB / 448.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2486, allocations: 1.031 kB / 448.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.2486, allocations: 0 / 448.5 MB, free: 15.64 MB / 366.1 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.0009927/0.2496, allocations: 0.5921 MB / 449.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2496, allocations: 13.42 kB / 449.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.25, allocations: 65.17 kB / 449.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.2503, allocations: 229.5 kB / 449.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.2504, allocations: 25.34 kB / 449.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.2504, allocations: 39.73 kB / 449.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.251, allocations: 356.5 kB / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.2511, allocations: 12.47 kB / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2511, allocations: 15.19 kB / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2511, allocations: 15.81 kB / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.2515, allocations: 213.2 kB / 450 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2534, allocations: 1.387 MB / 451.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.254, allocations: 301.8 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2541, allocations: 97.92 kB / 451.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2542, allocations: 7.125 kB / 451.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2542, allocations: 41.88 kB / 451.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.2542, allocations: 4.5 kB / 451.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.000695/0.2549, allocations: 276.5 kB / 452.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2549, allocations: 184.8 kB / 452.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2551, allocations: 236.9 kB / 452.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2551, allocations: 30.86 kB / 452.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.2552, allocations: 217.6 kB / 452.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2553, allocations: 112.1 kB / 452.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2554, allocations: 75.33 kB / 453 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.2555, allocations: 338.8 kB / 453.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2557, allocations: 85.44 kB / 453.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2559, allocations: 250.6 kB / 453.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.2563, allocations: 361.2 kB / 454 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2563, allocations: 1.375 kB / 454 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005878/0.2569, allocations: 389.7 kB / 454.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2569, allocations: 6.875 kB / 454.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2569, allocations: 11.06 kB / 454.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2569, allocations: 9.953 kB / 454.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.2573, allocations: 106.5 kB / 454.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.2574, allocations: 10.08 kB / 454.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.2576, allocations: 41.72 kB / 454.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2576, allocations: 21.02 kB / 454.6 MB, free: 12.19 MB / 366.1 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.0001277/0.2577, allocations: 159.8 kB / 454.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2579, allocations: 26.91 kB / 454.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.2581, allocations: 94.42 kB / 454.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2581, allocations: 5.125 kB / 454.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.2581, allocations: 1.469 kB / 454.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2581, allocations: 6.625 kB / 454.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.2587, allocations: 258.3 kB / 455.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2587, allocations: 1.031 kB / 455.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.2591, allocations: 79.33 kB / 455.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2591, allocations: 5 kB / 455.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.2591, allocations: 8.25 kB / 455.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2591, allocations: 7.719 kB / 455.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2591, allocations: 4.109 kB / 455.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.2598, allocations: 0.7576 MB / 456 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.2599, allocations: 34.17 kB / 456 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2599, allocations: 11.89 kB / 456 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.2602, allocations: 10.2 kB / 456 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.2603, allocations: 24.95 kB / 456.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2603, allocations: 12.16 kB / 456.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.2605, allocations: 158.5 kB / 456.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2605, allocations: 0 / 456.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006597/0.2611, allocations: 98.41 kB / 456.3 MB, free: 11.02 MB / 366.1 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.000118/0.2612, allocations: 106.7 kB / 456.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.2617, allocations: 224.7 kB / 456.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2617, allocations: 1.094 kB / 456.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.2619, allocations: 92.05 kB / 456.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.2629, allocations: 75.3 kB / 456.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2644, allocations: 1.033 MB / 457.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2646, allocations: 193.8 kB / 458 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.2648, allocations: 36.69 kB / 458.1 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.2649, allocations: 25.2 kB / 458.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2649, allocations: 0 / 458.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Templates: time 0.008517/0.2734, allocations: 3.008 MB / 461.1 MB, free: 9.613 MB / 366.1 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.481285315006971]