Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001087/0.001087, allocations: 86.59 kB / 21.43 MB, free: 3.074 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.001318/0.001318, allocations: 170 kB / 24.82 MB, free: 9.305 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 1.028/1.028, allocations: 177 MB / 205.1 MB, free: 5.488 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.3093/0.3093, allocations: 34.87 MB / 296.6 MB, free: 452 kB / 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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.355e-05/4.594e-05, allocations: 2.875 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004173/0.004219, allocations: 2.375 MB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005493, allocations: 0.8917 MB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.005621, allocations: 7.938 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.005902, allocations: 47.58 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.006096, allocations: 79.33 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.00643, allocations: 151.5 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.006795, allocations: 363.1 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.006974, allocations: 57.12 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.007328, allocations: 219.5 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.007544, allocations: 131.6 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.007586, allocations: 28 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.007733, allocations: 87.91 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.007844, allocations: 75.73 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.007943, allocations: 95.8 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.00833, allocations: 295 kB / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008334, allocations: 0 / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008336, allocations: 4 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.008341, allocations: 0 / 384.1 MB, free: 12.93 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000689/0.00903, allocations: 0.6049 MB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.009073, allocations: 11.97 kB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.009232, allocations: 52.75 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.009449, allocations: 208.8 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.009476, allocations: 16.88 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.009512, allocations: 28.36 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.00979, allocations: 201.2 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.009806, allocations: 192 / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.009826, allocations: 12.38 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.009833, allocations: 7.938 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.01001, allocations: 117.3 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.0108, allocations: 0.5878 MB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.01108, allocations: 169.2 kB / 386.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.01116, allocations: 67.64 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01119, allocations: 8 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.01121, allocations: 37.39 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.01121, allocations: 4 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001392/0.01261, allocations: 0.8923 MB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.01264, allocations: 55.41 kB / 387.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.01314, allocations: 241.9 kB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.01317, allocations: 37.64 kB / 387.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.01326, allocations: 191.5 kB / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.01333, allocations: 123 kB / 387.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.01341, allocations: 75.31 kB / 387.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01355, allocations: 0.504 MB / 388.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.01364, allocations: 51.97 kB / 388.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.01374, allocations: 107.7 kB / 388.5 MB, free: 8.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.0139, allocations: 164 kB / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.0139, allocations: 0 / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000372/0.01427, allocations: 300.7 kB / 388.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01429, allocations: 4 kB / 388.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.0143, allocations: 7.984 kB / 388.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.01455, allocations: 151.5 kB / 389.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01467, allocations: 51.91 kB / 389.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005027/0.01517, allocations: 0.8976 MB / 390 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.01526, allocations: 32.03 kB / 390.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01528, allocations: 8 kB / 390.1 MB, free: 6.633 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.0154, allocations: 180.8 kB / 390.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.01545, allocations: 31.86 kB / 390.3 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.01551, allocations: 42.58 kB / 390.3 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01551, allocations: 4 kB / 390.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01552, allocations: 4.031 kB / 390.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01552, allocations: 0 / 390.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.01638, allocations: 0.719 MB / 391 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.01639, allocations: 3.938 kB / 391 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01651, allocations: 47.91 kB / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.01672, allocations: 143.5 kB / 391.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.01675, allocations: 15.98 kB / 391.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004636/0.01721, allocations: 0.878 MB / 392.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01721, allocations: 3.938 kB / 392.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.01775, allocations: 485.2 kB / 392.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.01782, allocations: 51.8 kB / 392.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.01786, allocations: 15.98 kB / 392.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.01795, allocations: 23.92 kB / 392.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.01804, allocations: 51.89 kB / 392.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01806, allocations: 7.984 kB / 392.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.01813, allocations: 163.4 kB / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.01813, allocations: 0 / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01836, allocations: 72 kB / 393 MB, free: 3.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007823/0.01915, allocations: 347.1 kB / 393.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.0195, allocations: 199.6 kB / 393.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.0195, allocations: 0 / 393.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.01964, allocations: 112.5 kB / 393.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.01994, allocations: 63.44 kB / 393.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.02115, allocations: 0.6421 MB / 394.3 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.0212, allocations: 89.05 kB / 394.4 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.02126, allocations: 22.3 kB / 394.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.02137, allocations: 106.2 kB / 394.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02137, allocations: 0 / 394.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of Templates: time 0.007976/0.02935, allocations: 4.768 MB / 399.3 MB, free: 13.34 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.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: 3.3260303898714483]