Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001223/0.001223, allocations: 83.58 kB / 21.19 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.001279/0.001279, allocations: 161 kB / 24.56 MB, free: 12 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 0.9922/0.9922, allocations: 177.2 MB / 205 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 32.81 MB / 294.3 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.112e-05, allocations: 4.844 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004294/0.004315, allocations: 2.409 MB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.006087, allocations: 0.8761 MB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.006241, allocations: 7.938 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.006571, allocations: 55.5 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.006803, allocations: 79.34 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.007253, allocations: 155.5 kB / 379.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.007676, allocations: 367.1 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.007861, allocations: 53.12 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.008251, allocations: 215.6 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.008511, allocations: 131.6 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.008566, allocations: 28 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.008739, allocations: 91.91 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.008856, allocations: 71.8 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.008977, allocations: 103.7 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.009443, allocations: 295 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009446, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009446, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.009452, allocations: 0 / 380.9 MB, free: 15.76 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.0006458/0.0101, allocations: 0.6011 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.01014, allocations: 11.98 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.01029, allocations: 56.73 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.01054, allocations: 208.8 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.01057, allocations: 20.88 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.01061, allocations: 24.38 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.01094, allocations: 229.2 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01095, allocations: 4.188 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.01097, allocations: 8.375 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01098, allocations: 15.88 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.01121, allocations: 142.9 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.01202, allocations: 0.6068 MB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.01232, allocations: 187 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.01245, allocations: 87.64 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01247, allocations: 8 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.01249, allocations: 37.77 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.01249, allocations: 0 / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001588/0.01408, allocations: 0.9977 MB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.01411, allocations: 55.41 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.01425, allocations: 234 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01427, allocations: 41.7 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.01436, allocations: 191.5 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.01443, allocations: 119.1 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.01451, allocations: 71.34 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01462, allocations: 0.504 MB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.01475, allocations: 67.97 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01488, allocations: 126.7 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.01509, allocations: 180 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01509, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004423/0.01553, allocations: 332.7 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01554, allocations: 11.92 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01555, allocations: 0 / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.01582, allocations: 159.6 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.01595, allocations: 51.91 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/0.01642, allocations: 0.9092 MB / 387.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01653, allocations: 27.97 kB / 387.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.01655, allocations: 8 kB / 387.2 MB, free: 9.141 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.0001009/0.01665, allocations: 180.5 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.0167, allocations: 35.8 kB / 387.4 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.01674, allocations: 38.64 kB / 387.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01674, allocations: 4 kB / 387.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01675, allocations: 0 / 387.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01675, allocations: 0 / 387.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.01762, allocations: 0.7849 MB / 388.2 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01763, allocations: 0 / 388.2 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.01775, allocations: 51.97 kB / 388.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.01795, allocations: 139.5 kB / 388.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.01797, allocations: 8 kB / 388.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004067/0.01838, allocations: 0.8936 MB / 389.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.01838, allocations: 11.98 kB / 389.3 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01893, allocations: 0.5051 MB / 389.8 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.019, allocations: 51.81 kB / 389.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.01904, allocations: 11.94 kB / 389.9 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01914, allocations: 23.97 kB / 389.9 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.01923, allocations: 55.92 kB / 390 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01925, allocations: 8 kB / 390 MB, free: 6.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.01932, allocations: 175.4 kB / 390.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01932, allocations: 0 / 390.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.01954, allocations: 71.94 kB / 390.2 MB, free: 5.977 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.0006771/0.02022, allocations: 355 kB / 390.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.02061, allocations: 231.6 kB / 390.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02061, allocations: 0 / 390.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.02077, allocations: 128.3 kB / 390.9 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.02103, allocations: 50.41 kB / 391 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02215, allocations: 0.6474 MB / 391.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.17e-05/0.02222, allocations: 89.05 kB / 391.7 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.02227, allocations: 26.28 kB / 391.7 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.02233, allocations: 28.48 kB / 391.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02233, allocations: 0 / 391.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Templates: time 0.005974/0.0283, allocations: 4.36 MB / 396.1 MB, free: 172 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3319383589550853]