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.002043/0.002043, allocations: 88.52 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002181/0.002181, allocations: 166.1 kB / 23.96 MB, free: 4.137 MB / 14.72 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.562/1.562, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.2417/0.2417, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 179] 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.233e-06/1.233e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.292e-05, allocations: 2.281 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003793/0.003816, allocations: 2.275 MB / 444.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.005377, allocations: 0.8567 MB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.005489, allocations: 7.938 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.005766, allocations: 59.45 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.005967, allocations: 79.39 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.006342, allocations: 147.5 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.006753, allocations: 355.2 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.006915, allocations: 57.12 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.007279, allocations: 223.4 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.007525, allocations: 135.7 kB / 446.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.00758, allocations: 24 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.007751, allocations: 83.92 kB / 446.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.007898, allocations: 83.72 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.008033, allocations: 99.73 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.00856, allocations: 398.8 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008564, allocations: 0 / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008564, allocations: 3.938 kB / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.00857, allocations: 0 / 447.5 MB, free: 452 kB / 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.1857/0.1943, allocations: 0.5016 MB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.1943, allocations: 11.31 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.1946, allocations: 38.38 kB / 448 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1951, allocations: 203.6 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.1951, allocations: 18.47 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.1951, allocations: 26.11 kB / 448.3 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.1957, allocations: 266 kB / 448.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1958, allocations: 2.281 kB / 448.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.1958, allocations: 7.312 kB / 448.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1958, allocations: 5.375 kB / 448.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.1964, allocations: 238.1 kB / 448.8 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1977, allocations: 0.5993 MB / 449.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1982, allocations: 224.9 kB / 449.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.1985, allocations: 125.2 kB / 449.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1985, allocations: 3.812 kB / 449.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1985, allocations: 37.94 kB / 449.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.1985, allocations: 0 / 449.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003099/0.2016, allocations: 1.193 MB / 451 MB, free: 17.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.2017, allocations: 54.91 kB / 451 MB, free: 17.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2019, allocations: 188.4 kB / 451.2 MB, free: 17.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2019, allocations: 37.73 kB / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.202, allocations: 149.5 kB / 451.4 MB, free: 17.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.2021, allocations: 114.7 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.2022, allocations: 67 kB / 451.6 MB, free: 17.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.2023, allocations: 330.7 kB / 451.9 MB, free: 17.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.2025, allocations: 117.6 kB / 452 MB, free: 17.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2028, allocations: 161.1 kB / 452.1 MB, free: 17.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.2032, allocations: 249.5 kB / 452.4 MB, free: 16.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2032, allocations: 0 / 452.4 MB, free: 16.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008246/0.2041, allocations: 424 kB / 452.8 MB, free: 16.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2041, allocations: 9.609 kB / 452.8 MB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2041, allocations: 1.375 kB / 452.8 MB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.2046, allocations: 196.7 kB / 453 MB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2049, allocations: 62.05 kB / 453.1 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006386/0.2055, allocations: 0.7302 MB / 453.8 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2058, allocations: 33.95 kB / 453.8 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.2058, allocations: 14.52 kB / 453.8 MB, free: 16.04 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.0001516/0.206, allocations: 151.4 kB / 454 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.206, allocations: 22.92 kB / 454 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/0.2061, allocations: 35.73 kB / 454.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2061, allocations: 8.844 kB / 454.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2061, allocations: 0 / 454.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2061, allocations: 4.188 kB / 454.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.2077, allocations: 0.8259 MB / 454.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2077, allocations: 1.031 kB / 454.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.2079, allocations: 49.78 kB / 454.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/0.2084, allocations: 178.2 kB / 455.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.2084, allocations: 10.5 kB / 455.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005705/0.209, allocations: 0.6859 MB / 455.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.209, allocations: 4.875 kB / 455.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2101, allocations: 0.6095 MB / 456.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2102, allocations: 50.75 kB / 456.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.2102, allocations: 13.19 kB / 456.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2105, allocations: 39.44 kB / 456.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2107, allocations: 48.2 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.2107, allocations: 13.22 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2108, allocations: 139.5 kB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2108, allocations: 5.375 kB / 456.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000406/0.2112, allocations: 71.42 kB / 456.8 MB, free: 14.18 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.001383/0.2126, allocations: 374.2 kB / 457.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.2134, allocations: 302.3 kB / 457.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2134, allocations: 1.5 kB / 457.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.2137, allocations: 145.2 kB / 457.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2142, allocations: 47.05 kB / 457.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.2163, allocations: 0.7043 MB / 458.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.2165, allocations: 151.1 kB / 458.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.2166, allocations: 27.17 kB / 458.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.2167, allocations: 25.88 kB / 458.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2167, allocations: 0 / 458.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.0118/0.2285, allocations: 4.343 MB / 462.9 MB, free: 12.86 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.291797757148743]