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.001285/0.001285, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001392/0.001392, 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 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.602 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.2695/0.2695, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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 2.434e-06/2.434e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.799e-05, allocations: 6.25 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003812/0.00385, allocations: 2.409 MB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005281, allocations: 0.8839 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.00546, allocations: 7.938 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.005787, allocations: 51.56 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.005999, allocations: 83.34 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.006448, allocations: 147.5 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.006831, allocations: 363.1 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.006994, allocations: 57.78 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.007329, allocations: 219.5 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.007551, allocations: 131.7 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.007592, allocations: 32 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.007751, allocations: 87.89 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.00785, allocations: 71.75 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.414e-05/0.007944, allocations: 99.78 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.008319, allocations: 295 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.008325, allocations: 4 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008326, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.008332, 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.0007198/0.009052, allocations: 0.601 MB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.009095, allocations: 12.03 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.009274, allocations: 52.75 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.009545, allocations: 208.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.009576, allocations: 16.88 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.009616, allocations: 24.38 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.009965, allocations: 225.2 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.009982, allocations: 12.12 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01, allocations: 4.375 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01002, allocations: 15.92 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.01026, allocations: 142.9 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.01119, allocations: 0.6107 MB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.01156, allocations: 185.4 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.01169, allocations: 87.64 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.01171, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.01174, allocations: 41.33 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.01174, allocations: 3.938 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001864/0.0136, allocations: 0.9982 MB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.01364, allocations: 55.41 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.01383, allocations: 238 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.01388, allocations: 41.69 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01399, allocations: 183.5 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.01408, allocations: 123.1 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01418, allocations: 71.34 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01436, allocations: 0.5001 MB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.0145, allocations: 71.95 kB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01466, allocations: 122.7 kB / 387.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.0149, allocations: 184 kB / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.0149, allocations: 0 / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005238/0.01543, allocations: 336.7 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.01545, allocations: 6.031 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.01546, allocations: 0 / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.01578, allocations: 159.6 kB / 388.2 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01592, allocations: 51.91 kB / 388.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005546/0.01647, allocations: 0.921 MB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01659, allocations: 23.97 kB / 389.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01661, 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.0001163/0.01673, allocations: 172.6 kB / 389.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.01677, allocations: 47.72 kB / 389.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.01682, allocations: 30.66 kB / 389.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01683, allocations: 4 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01683, allocations: 0 / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01684, allocations: 3.984 kB / 389.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.01778, allocations: 0.7848 MB / 390.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01778, allocations: 0 / 390.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.01791, allocations: 43.97 kB / 390.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.01812, allocations: 147.5 kB / 390.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.01815, allocations: 15.98 kB / 390.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004621/0.01861, allocations: 0.8897 MB / 391.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.01862, allocations: 7.938 kB / 391.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.01921, allocations: 0.509 MB / 391.9 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.01929, allocations: 47.81 kB / 391.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.01933, allocations: 15.94 kB / 391.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01943, allocations: 28.03 kB / 391.9 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.01952, allocations: 43.91 kB / 392 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.01953, allocations: 11.98 kB / 392 MB, free: 4.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.01962, allocations: 171.4 kB / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01962, allocations: 0 / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01987, allocations: 68 kB / 392.2 MB, free: 3.957 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.0008429/0.02071, allocations: 353.4 kB / 392.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.02117, allocations: 232.3 kB / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02118, allocations: 0 / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02135, allocations: 124.3 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.0002925/0.02164, allocations: 51.89 kB / 393 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.023, allocations: 0.6518 MB / 393.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.02308, allocations: 92.98 kB / 393.7 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.02315, allocations: 22.28 kB / 393.7 MB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.02321, allocations: 32.48 kB / 393.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02322, allocations: 0 / 393.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of Templates: time 0.006938/0.03015, allocations: 4.681 MB / 398.5 MB, free: 13.82 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.3158699041232467]