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.00181/0.00181, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002143/0.002143, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.2225/0.2225, allocations: 34.28 MB / 295 MB, free: 14.6 MB / 286.1 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.034e-06/2.034e-06, allocations: 0 / 442.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.334e-05, allocations: 2.281 kB / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00421/0.004244, allocations: 2.28 MB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.005898, allocations: 0.8528 MB / 445.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.006007, allocations: 7.938 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.006281, allocations: 59.44 kB / 445.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.006485, allocations: 79.41 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.006883, allocations: 147.5 kB / 446.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.007301, allocations: 359.2 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.00748, allocations: 57.12 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.007858, allocations: 223.4 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.008094, allocations: 131.7 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.00815, allocations: 24 kB / 446.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.008343, allocations: 91.91 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.008488, allocations: 75.73 kB / 447 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.008637, allocations: 99.73 kB / 447.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.009221, allocations: 398.8 kB / 447.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.009226, allocations: 0 / 447.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.009228, allocations: 0 / 447.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.009235, allocations: 3.938 kB / 447.5 MB, free: 0.5664 MB / 366.1 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.001267/0.0105, allocations: 0.513 MB / 448 MB, free: 20 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01054, allocations: 8.031 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2083/0.2188, allocations: 33.48 kB / 448.1 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2193, allocations: 193.1 kB / 448.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.2193, allocations: 21.34 kB / 448.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.2194, allocations: 25.53 kB / 448.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.22, allocations: 265.1 kB / 448.6 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.22, allocations: 2.672 kB / 448.6 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.2201, allocations: 12.12 kB / 448.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2201, allocations: 5.656 kB / 448.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.2207, allocations: 238.4 kB / 448.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2221, allocations: 0.6038 MB / 449.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.2226, allocations: 223.4 kB / 449.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.2229, allocations: 126 kB / 449.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2229, allocations: 4.406 kB / 449.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2229, allocations: 36.58 kB / 449.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.2229, allocations: 5.062 kB / 449.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003281/0.2262, allocations: 1.177 MB / 451 MB, free: 18.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2262, allocations: 59.95 kB / 451 MB, free: 18.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2264, allocations: 188.4 kB / 451.2 MB, free: 17.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2265, allocations: 37.33 kB / 451.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.2265, allocations: 144.3 kB / 451.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.2266, allocations: 124.4 kB / 451.5 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2267, allocations: 62.27 kB / 451.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.2268, allocations: 330.3 kB / 451.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.2271, allocations: 120.1 kB / 452 MB, free: 17.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.2274, allocations: 163.5 kB / 452.2 MB, free: 17.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.2278, allocations: 245.2 kB / 452.4 MB, free: 17.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2278, allocations: 0 / 452.4 MB, free: 17.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008748/0.2287, allocations: 422.3 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2287, allocations: 10.38 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2287, allocations: 4.766 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004769/0.2292, allocations: 202.9 kB / 453 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2294, allocations: 49.22 kB / 453.1 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006368/0.23, allocations: 0.7286 MB / 453.8 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.2303, allocations: 34.75 kB / 453.9 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2303, allocations: 14.83 kB / 453.9 MB, free: 16.22 MB / 366.1 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.000163/0.2305, allocations: 148 kB / 454 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.2306, allocations: 22.39 kB / 454 MB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.863e-05/0.2307, allocations: 41.55 kB / 454.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2307, allocations: 2.875 kB / 454.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2307, allocations: 2.141 kB / 454.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2307, allocations: 7.547 kB / 454.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.2324, allocations: 0.8206 MB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2324, allocations: 1.875 kB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2326, allocations: 44.3 kB / 455 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.233, allocations: 184.5 kB / 455.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.2331, allocations: 10.05 kB / 455.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/0.2337, allocations: 0.6912 MB / 455.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2337, allocations: 1.5 kB / 455.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2348, allocations: 0.606 MB / 456.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2349, allocations: 51.09 kB / 456.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.2349, allocations: 11.16 kB / 456.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.2352, allocations: 37.88 kB / 456.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.2354, allocations: 48.95 kB / 456.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.2354, allocations: 10.11 kB / 456.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.2355, allocations: 139.1 kB / 456.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2355, allocations: 5.062 kB / 456.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.2359, allocations: 70.59 kB / 456.8 MB, free: 14.38 MB / 366.1 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.00144/0.2373, allocations: 405.7 kB / 457.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007267/0.2381, allocations: 299.4 kB / 457.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.2381, allocations: 1.094 kB / 457.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.2384, allocations: 145.9 kB / 457.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2388, allocations: 31.48 kB / 457.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2408, allocations: 0.7106 MB / 458.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2409, allocations: 149.8 kB / 458.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.241, allocations: 27.11 kB / 458.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.2411, allocations: 25.14 kB / 458.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2411, allocations: 0 / 458.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Templates: time 0.01065/0.2517, allocations: 4.338 MB / 462.9 MB, free: 13.08 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.271838005632162]