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.0007723/0.0007723, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001744, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000712/0.000712, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009031/0.001615, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.049/1.049, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0958/1.145, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.2613/0.2613, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02764/0.2889, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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 1.853e-06/1.853e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.308e-05, allocations: 3.844 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003708/0.003731, allocations: 2.427 MB / 296.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005224, allocations: 0.9199 MB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.005335, allocations: 7.938 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.005553, allocations: 55.5 kB / 297.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.005728, allocations: 79.34 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.006052, allocations: 155.4 kB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.006419, allocations: 355.2 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.006578, allocations: 63.08 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.00693, allocations: 228 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.007146, allocations: 131.7 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.007195, allocations: 28 kB / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.007368, allocations: 87.89 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.007464, allocations: 47.88 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.007572, allocations: 79.81 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.007937, allocations: 259.1 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.007953, allocations: 4 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007954, allocations: 0 / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.007971, allocations: 3.938 kB / 298.7 MB, free: 304 kB / 282.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.0007881/0.008759, allocations: 0.528 MB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.008796, allocations: 8.922 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.008993, allocations: 126 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.009251, allocations: 178.1 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.009285, allocations: 20.88 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.009327, allocations: 24.31 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.009649, allocations: 209.2 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.009664, allocations: 4.188 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.009685, allocations: 4.375 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.009696, allocations: 11.94 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.009901, allocations: 97.42 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.01077, allocations: 448.8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.01108, allocations: 150.4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01119, allocations: 66.83 kB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.01122, allocations: 4 kB / 300.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01124, allocations: 38.56 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.01125, allocations: 3.938 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001931/0.01318, allocations: 0.888 MB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.01321, allocations: 55.41 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.01336, allocations: 180.2 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.01339, allocations: 37.7 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.01346, allocations: 132.7 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.01355, allocations: 122.9 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01365, allocations: 73.59 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01376, allocations: 330.8 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.01386, allocations: 47.97 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01397, allocations: 86.8 kB / 302.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.01416, allocations: 149.8 kB / 302.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01416, allocations: 0 / 302.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004211/0.01459, allocations: 241.9 kB / 302.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.0146, allocations: 8.062 kB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01461, allocations: 4 kB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.01494, allocations: 136.7 kB / 303.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.01518, allocations: 71.89 kB / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004791/0.01565, allocations: 0.6304 MB / 303.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.0158, allocations: 28 kB / 303.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.01582, allocations: 8 kB / 303.8 MB, free: 10.93 MB / 298.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.0001164/0.01593, allocations: 129.4 kB / 304 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.01599, allocations: 31.91 kB / 304 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.01605, allocations: 34.59 kB / 304 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01606, allocations: 4 kB / 304 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01606, allocations: 0 / 304 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01607, allocations: 3.984 kB / 304 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.01701, allocations: 0.5361 MB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.01701, allocations: 3.938 kB / 304.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.01724, allocations: 63.89 kB / 304.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.01733, allocations: 31.84 kB / 304.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.01761, allocations: 141.5 kB / 304.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01763, allocations: 8 kB / 304.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004059/0.01803, allocations: 0.5965 MB / 305.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01804, allocations: 3.938 kB / 305.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.01856, allocations: 376.4 kB / 305.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.0186, allocations: 8 kB / 305.8 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01874, allocations: 27.91 kB / 305.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.01884, allocations: 47.91 kB / 305.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.01886, allocations: 11.98 kB / 305.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.01892, allocations: 49.31 kB / 305.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01892, allocations: 0 / 305.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.0192, allocations: 71.94 kB / 306 MB, free: 8.668 MB / 298.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.001476/0.02068, allocations: 483.2 kB / 306.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.02111, allocations: 189.2 kB / 306.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.02112, allocations: 4 kB / 306.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.02132, allocations: 108.7 kB / 306.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.02164, allocations: 67.94 kB / 306.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.02662, allocations: 0.6208 MB / 307.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.02671, allocations: 93.05 kB / 307.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.02682, allocations: 22.28 kB / 307.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02696, allocations: 87.34 kB / 307.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 1.352e-06/0.02696, allocations: 4 kB / 307.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of Templates: time 0.008935/0.03589, allocations: 4.839 MB / 312.5 MB, free: 2.406 MB / 298.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 -ignoreHideResult -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.0020682541653514]