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.0009328/0.0009328, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009649/0.0009649, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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.9976/0.9976, allocations: 177.1 MB / 206 MB, free: 4.523 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.1498/0.1498, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.576e-05, allocations: 2.312 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002367/0.002382, allocations: 2.37 MB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003538, allocations: 0.8802 MB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.003668, allocations: 7.938 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.003912, allocations: 47.52 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.004064, allocations: 87.33 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.00439, allocations: 143.6 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.004634, allocations: 359.1 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.00476, allocations: 69.05 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.004994, allocations: 215.5 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.00516, allocations: 135.6 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.005191, allocations: 28 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.005298, allocations: 87.91 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.005377, allocations: 75.73 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.00544, allocations: 99.78 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.005695, allocations: 291 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005697, allocations: 4 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.005698, allocations: 0 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005702, allocations: 0 / 384.1 MB, free: 18.55 MB / 314.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.0006398/0.006342, allocations: 0.6127 MB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.00638, allocations: 8.031 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.006574, allocations: 56.75 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.006826, allocations: 200.8 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.006855, allocations: 16.88 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.0069, allocations: 24.38 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.007231, allocations: 201.2 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.007248, allocations: 8.125 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.007273, allocations: 12.38 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.007284, allocations: 7.938 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.007523, allocations: 125.3 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.008362, allocations: 0.5761 MB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.008577, allocations: 171.1 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.008647, allocations: 71.64 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.008668, allocations: 7.984 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.008683, allocations: 41.33 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.008684, allocations: 0 / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001191/0.009875, allocations: 0.8875 MB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.009892, allocations: 59.39 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.009988, allocations: 238.5 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01001, allocations: 33.7 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.01005, allocations: 195.4 kB / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.0101, allocations: 119 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.01017, allocations: 75.31 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.01022, allocations: 0.504 MB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.01029, allocations: 51.95 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.01037, allocations: 102.7 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.01049, allocations: 159.8 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0105, allocations: 7.984 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003121/0.01081, allocations: 292.8 kB / 388.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.01082, allocations: 8 kB / 389 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01082, allocations: 0 / 389 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.01104, allocations: 159.6 kB / 389.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01115, allocations: 55.91 kB / 389.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003014/0.01145, allocations: 0.8968 MB / 390.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.01155, allocations: 24.05 kB / 390.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01156, allocations: 15.98 kB / 390.1 MB, free: 12.26 MB / 314.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 7.414e-05/0.01164, allocations: 176.9 kB / 390.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.01168, allocations: 39.8 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.01172, allocations: 42.58 kB / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01172, allocations: 0 / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01173, allocations: 4 kB / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01173, allocations: 0 / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.01241, allocations: 0.7151 MB / 391.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01241, allocations: 7.875 kB / 391.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01252, allocations: 47.97 kB / 391.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.0127, allocations: 139.5 kB / 391.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01272, allocations: 8 kB / 391.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/0.01298, allocations: 0.8858 MB / 392.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01299, allocations: 0 / 392.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.01336, allocations: 477.2 kB / 392.6 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.01343, allocations: 51.81 kB / 392.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.01346, allocations: 8 kB / 392.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.01356, allocations: 31.97 kB / 392.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.01363, allocations: 51.89 kB / 392.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01364, allocations: 8 kB / 392.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.01369, allocations: 171.3 kB / 392.9 MB, free: 9.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01369, allocations: 0 / 392.9 MB, free: 9.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.0139, allocations: 68 kB / 393 MB, free: 9.23 MB / 314.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.0006737/0.01458, allocations: 355.7 kB / 393.4 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01486, allocations: 208 kB / 393.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01486, allocations: 4 kB / 393.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01497, allocations: 120.2 kB / 393.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01522, allocations: 47.95 kB / 393.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.01619, allocations: 0.6517 MB / 394.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.01623, allocations: 89.05 kB / 394.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.01628, allocations: 18.3 kB / 394.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.01637, allocations: 110.1 kB / 394.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01637, allocations: 0 / 394.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Templates: time 0.006371/0.02274, allocations: 4.867 MB / 399.5 MB, free: 2.871 MB / 314.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.5228145071305335]