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.001171/0.001171, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002737, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001721/0.001721, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.00314, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9969/0.9969, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09666/1.094, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.2523/0.2523, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0308/0.2831, allocations: 13.1 MB / 291.3 MB, free: 7.383 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 2.224e-06/2.224e-06, allocations: 0 / 292.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.95e-05, allocations: 3.188 kB / 292.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003836/0.003865, allocations: 2.441 MB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.005576, allocations: 0.908 MB / 296 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.005755, allocations: 7.938 kB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.005998, allocations: 47.58 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.006213, allocations: 79.33 kB / 296.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.006661, allocations: 155.5 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.00711, allocations: 363.1 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.00728, allocations: 59.09 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.007742, allocations: 235.5 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.008008, allocations: 131.7 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.008061, allocations: 24 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.008289, allocations: 83.92 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.008401, allocations: 55.8 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.008509, allocations: 75.88 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.008965, allocations: 259.1 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.008983, allocations: 0 / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008985, allocations: 4 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.009004, allocations: 4 kB / 297.5 MB, free: 1.414 MB / 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.0008574/0.009862, allocations: 0.5357 MB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.009904, allocations: 12.03 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.01011, allocations: 114 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01042, allocations: 182.1 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.01045, allocations: 16.88 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.0105, allocations: 24.38 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.01087, allocations: 213.2 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01088, allocations: 192 / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.01091, allocations: 12.38 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.01092, allocations: 7.938 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.01114, allocations: 97.42 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.01218, allocations: 444.8 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.0125, allocations: 151.9 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.01259, allocations: 65.48 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.01262, allocations: 4 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.01264, allocations: 34.56 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.777e-06/0.01265, allocations: 4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001597/0.01424, allocations: 0.8891 MB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01428, allocations: 55.41 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01439, allocations: 173.4 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01442, allocations: 41.64 kB / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.01447, allocations: 136.7 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.01453, allocations: 126.9 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.01461, allocations: 69.61 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.01469, allocations: 330.8 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01476, allocations: 43.98 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.01485, allocations: 92.09 kB / 301.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01498, allocations: 155.3 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01499, allocations: 0 / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003068/0.01529, allocations: 234.1 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01531, allocations: 8 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01532, allocations: 4.062 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.01557, allocations: 144.7 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.01577, allocations: 70.33 kB / 301.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.01622, allocations: 0.6171 MB / 302.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01633, allocations: 36.06 kB / 302.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01635, allocations: 8 kB / 302.6 MB, free: 12.05 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.0001031/0.01645, allocations: 136.9 kB / 302.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.01649, allocations: 23.92 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.01655, allocations: 42.58 kB / 302.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01655, allocations: 4 kB / 302.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01656, allocations: 0 / 302.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01656, allocations: 0 / 302.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.01725, allocations: 0.5389 MB / 303.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.01726, allocations: 11.92 kB / 303.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.01741, allocations: 55.91 kB / 303.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.01746, allocations: 27.89 kB / 303.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.01765, allocations: 140.7 kB / 303.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01767, allocations: 11.98 kB / 303.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002846/0.01795, allocations: 0.6035 MB / 304.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01795, allocations: 3.938 kB / 304.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.01832, allocations: 363.9 kB / 304.5 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.01835, allocations: 16.06 kB / 304.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.01844, allocations: 27.91 kB / 304.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.01852, allocations: 43.91 kB / 304.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01853, allocations: 7.984 kB / 304.6 MB, free: 9.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.01857, allocations: 53.25 kB / 304.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01857, allocations: 0 / 304.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.01877, allocations: 75.94 kB / 304.8 MB, free: 9.777 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.00105/0.01982, allocations: 489.7 kB / 305.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.02011, allocations: 184.9 kB / 305.4 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.02012, allocations: 4 kB / 305.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.02023, allocations: 108.8 kB / 305.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.02046, allocations: 75.09 kB / 305.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.02356, allocations: 0.6287 MB / 306.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.02362, allocations: 85.06 kB / 306.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.02369, allocations: 22.28 kB / 306.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.02378, allocations: 83.36 kB / 306.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02378, allocations: 0 / 306.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of Templates: time 0.006251/0.03003, allocations: 4.859 MB / 311.3 MB, free: 3.504 MB / 298.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 -ignoreHideResult -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: 2.8953330907970667]