Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001367/0.001367, allocations: 84.7 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.001382/0.001382, allocations: 168.4 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.417/1.417, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 32.81 MB / 293.5 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.794e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003878/0.003906, allocations: 2.261 MB / 442.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.005521, allocations: 0.8568 MB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.005621, allocations: 4 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.005884, allocations: 59.39 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.006087, allocations: 83.33 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.00647, allocations: 151.5 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.006878, allocations: 359 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.00707, allocations: 57.12 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.007421, allocations: 223.5 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.007649, allocations: 135.6 kB / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.007705, allocations: 28 kB / 444.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.00787, allocations: 83.92 kB / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.007984, allocations: 67.78 kB / 444.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.008116, allocations: 103.7 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.008651, allocations: 402.8 kB / 444.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.008656, allocations: 4 kB / 444.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008656, allocations: 0 / 444.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.008661, allocations: 0 / 444.9 MB, free: 3.285 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.0009701/0.009631, allocations: 0.5013 MB / 445.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.009669, allocations: 11.98 kB / 445.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.009845, allocations: 44.73 kB / 445.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.01017, allocations: 205.9 kB / 445.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.0102, allocations: 20.88 kB / 445.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.01026, allocations: 20.38 kB / 445.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.01081, allocations: 272.5 kB / 446 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01082, allocations: 4.125 kB / 446 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.01086, allocations: 8.375 kB / 446 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01087, allocations: 7.938 kB / 446 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.01142, allocations: 237.9 kB / 446.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.01277, allocations: 0.5958 MB / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.01336, allocations: 227.1 kB / 447 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.01366, allocations: 128.8 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.01368, allocations: 4.438 kB / 447.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.01371, allocations: 38.56 kB / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.01371, allocations: 0 / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.1814/0.1951, allocations: 1.188 MB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1951, allocations: 55.28 kB / 448.5 MB, free: 21.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1953, allocations: 189.3 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1954, allocations: 41.12 kB / 448.7 MB, free: 21.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1954, allocations: 139.8 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.1955, allocations: 121.9 kB / 448.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1956, allocations: 70.62 kB / 449 MB, free: 21.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.1957, allocations: 331.1 kB / 449.3 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1959, allocations: 119.9 kB / 449.4 MB, free: 20.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1962, allocations: 164.3 kB / 449.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1966, allocations: 234.2 kB / 449.8 MB, free: 20.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1966, allocations: 0 / 449.8 MB, free: 20.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008642/0.1975, allocations: 427 kB / 450.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1975, allocations: 8.609 kB / 450.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1975, allocations: 4.844 kB / 450.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.198, allocations: 197.6 kB / 450.5 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1983, allocations: 53.44 kB / 450.5 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.1989, allocations: 0.7339 MB / 451.2 MB, free: 19.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1992, allocations: 35.31 kB / 451.3 MB, free: 19.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1992, allocations: 17.25 kB / 451.3 MB, free: 19.68 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.0001397/0.1994, allocations: 148.6 kB / 451.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1994, allocations: 26.2 kB / 451.5 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.1995, allocations: 33.41 kB / 451.5 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1995, allocations: 2.656 kB / 451.5 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1995, allocations: 1.188 kB / 451.5 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1995, allocations: 1.875 kB / 451.5 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.201, allocations: 0.8221 MB / 452.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.201, allocations: 0.7031 kB / 452.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2012, allocations: 46.14 kB / 452.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.2016, allocations: 185.2 kB / 452.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.2016, allocations: 9.547 kB / 452.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005086/0.2021, allocations: 0.6887 MB / 453.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2021, allocations: 1.938 kB / 453.3 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2032, allocations: 0.6035 MB / 453.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2033, allocations: 51.45 kB / 453.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.2033, allocations: 9.203 kB / 453.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.2036, allocations: 37.75 kB / 454 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2038, allocations: 49.31 kB / 454 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.2038, allocations: 13.62 kB / 454 MB, free: 17.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2039, allocations: 142.3 kB / 454.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2039, allocations: 1.125 kB / 454.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.2043, allocations: 75.66 kB / 454.2 MB, free: 17.87 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.001379/0.2056, allocations: 397.2 kB / 454.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.2063, allocations: 296 kB / 454.9 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2063, allocations: 3.938 kB / 454.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2067, allocations: 142.5 kB / 455 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2071, allocations: 45.48 kB / 455.1 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.209, allocations: 0.6939 MB / 455.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2091, allocations: 155.2 kB / 455.9 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.2092, allocations: 22.91 kB / 456 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.2093, allocations: 23.64 kB / 456 MB, free: 17.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2093, allocations: 1.125 kB / 456 MB, free: 17.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01014/0.2194, allocations: 4.341 MB / 460.3 MB, free: 16.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.83119922876358]