Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.2 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2585/0.2585, allocations: 34.27 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.499e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002968/0.002993, allocations: 2.405 MB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004193, allocations: 0.8917 MB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004311, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.00459, allocations: 55.5 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.004762, allocations: 75.34 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.005106, allocations: 155.5 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.005414, allocations: 363.1 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.005566, allocations: 57.12 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.005867, allocations: 215.5 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.00606, allocations: 127.7 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.0061, allocations: 28 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.006244, allocations: 95.83 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.006341, allocations: 71.75 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.006426, allocations: 103.7 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.006772, allocations: 295 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006776, allocations: 3.938 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006777, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.006783, allocations: 0 / 382.9 MB, free: 13.73 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.0006684/0.007451, allocations: 0.5934 MB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.007491, allocations: 12.03 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.007663, allocations: 52.75 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.00791, allocations: 212.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.007939, allocations: 20.81 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.007983, allocations: 28.36 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.008331, allocations: 221.3 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008346, allocations: 4.188 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.008369, allocations: 8.359 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.008379, allocations: 11.94 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.008638, allocations: 146.9 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.009513, allocations: 0.6068 MB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.009862, allocations: 186.9 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.009986, allocations: 87.64 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.01002, allocations: 8 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01004, allocations: 37.39 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.01004, allocations: 0 / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001734/0.01177, allocations: 0.9982 MB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.01181, allocations: 55.41 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01196, allocations: 234 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.01199, allocations: 41.69 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.01207, allocations: 187.5 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.01214, allocations: 119.1 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.01223, allocations: 75.34 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01235, allocations: 0.5001 MB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.01247, allocations: 71.95 kB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.01261, allocations: 122.7 kB / 387.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01282, allocations: 180 kB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01282, allocations: 0 / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005382/0.01336, allocations: 340.7 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01338, allocations: 4 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01338, allocations: 0 / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.0137, allocations: 159.5 kB / 388.2 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01385, allocations: 60.08 kB / 388.3 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005301/0.01438, allocations: 0.9131 MB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.0145, allocations: 23.97 kB / 389.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.01452, allocations: 12 kB / 389.2 MB, free: 7.113 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.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * 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.0001343/0.01465, allocations: 176.5 kB / 389.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.0147, allocations: 35.8 kB / 389.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.01475, allocations: 34.66 kB / 389.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01476, allocations: 8.031 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01476, allocations: 0 / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01477, allocations: 7.922 kB / 389.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.0157, allocations: 0.7731 MB / 390.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01571, allocations: 0 / 390.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.01584, allocations: 55.94 kB / 390.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.01607, allocations: 143.5 kB / 390.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.0161, allocations: 15.98 kB / 390.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004265/0.01652, allocations: 0.8858 MB / 391.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.01653, allocations: 7.938 kB / 391.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.01713, allocations: 0.513 MB / 391.8 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.01721, allocations: 47.81 kB / 391.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.01725, allocations: 11.94 kB / 391.9 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01736, allocations: 27.97 kB / 391.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.01746, allocations: 43.91 kB / 392 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.01748, allocations: 11.98 kB / 392 MB, free: 4.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.537e-05/0.01757, allocations: 175.3 kB / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01757, allocations: 4.031 kB / 392.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01781, allocations: 71.98 kB / 392.2 MB, free: 3.949 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.0007836/0.01859, allocations: 347 kB / 392.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.01901, allocations: 232.2 kB / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01902, allocations: 0 / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.01918, allocations: 124.5 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.01948, allocations: 55.84 kB / 393 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02081, allocations: 0.6439 MB / 393.6 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.02087, allocations: 89.05 kB / 393.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.02093, allocations: 26.28 kB / 393.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.02099, allocations: 32.48 kB / 393.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.021, allocations: 0 / 393.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of Templates: time 0.006742/0.02774, allocations: 4.367 MB / 398.1 MB, free: 14.14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.443774538114667]