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.001403/0.001403, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001375/0.001375, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9586/0.9586, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.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.2841/0.2841, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.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.442e-06/1.442e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.805e-05, allocations: 7.156 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003631/0.003649, allocations: 2.399 MB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005334, allocations: 0.8917 MB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.005461, allocations: 7.938 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.005742, allocations: 51.52 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.005954, allocations: 79.33 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.006396, allocations: 159.4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.006822, allocations: 355.2 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.006987, allocations: 57.14 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.007353, allocations: 215.5 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.00758, allocations: 135.7 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.007631, allocations: 28 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.007792, allocations: 79.92 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.007904, allocations: 83.66 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.008017, allocations: 103.7 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.008431, allocations: 295 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.008433, allocations: 0 / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008434, allocations: 0 / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.008439, allocations: 4 kB / 383.7 MB, free: 13.16 MB / 362.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.0007797/0.009219, allocations: 0.5934 MB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.009259, allocations: 12.03 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.009448, allocations: 56.73 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.009735, allocations: 204.8 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.009765, allocations: 20.88 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.009813, allocations: 24.38 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.01025, allocations: 229.2 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01026, allocations: 4.188 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.01029, allocations: 4.375 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.0103, allocations: 7.938 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.01064, allocations: 146.9 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.01177, allocations: 0.6184 MB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.01217, allocations: 179 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01233, allocations: 91.58 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.01236, allocations: 4 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.01238, allocations: 41.39 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.01239, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.002226/0.01461, allocations: 0.9919 MB / 386.9 MB, free: 9.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01465, allocations: 55.41 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.01483, allocations: 234 kB / 387.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.01487, allocations: 37.7 kB / 387.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01497, allocations: 187.5 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.01507, allocations: 119 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01518, allocations: 71.34 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01534, allocations: 0.5001 MB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.01551, allocations: 75.95 kB / 388.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.0157, allocations: 119.8 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.01602, allocations: 188 kB / 388.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01602, allocations: 0 / 388.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006495/0.01667, allocations: 332.7 kB / 388.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.01669, allocations: 11.98 kB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.0167, allocations: 0 / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.01707, allocations: 151.5 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.01725, allocations: 51.91 kB / 389 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.01792, allocations: 0.917 MB / 389.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.01808, allocations: 35.98 kB / 389.9 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.01811, allocations: 12 kB / 389.9 MB, free: 6.559 MB / 362.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.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.0001386/0.01825, allocations: 180.7 kB / 390.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.01832, allocations: 35.8 kB / 390.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.01838, allocations: 38.64 kB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01839, allocations: 4 kB / 390.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.01839, allocations: 0 / 390.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.0184, allocations: 0 / 390.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.01963, allocations: 0.7849 MB / 391 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01963, allocations: 0 / 391 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.01983, allocations: 47.97 kB / 391 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.02013, allocations: 147.6 kB / 391.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.02016, allocations: 15.94 kB / 391.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005946/0.02076, allocations: 0.8858 MB / 392.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02076, allocations: 3.938 kB / 392.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.02155, allocations: 0.5051 MB / 392.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.02165, allocations: 55.88 kB / 392.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.0217, allocations: 11.94 kB / 392.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.02186, allocations: 27.97 kB / 392.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.02198, allocations: 47.89 kB / 392.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.022, allocations: 8 kB / 392.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.02211, allocations: 175.4 kB / 392.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02211, allocations: 0 / 392.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.02246, allocations: 68 kB / 393 MB, free: 3.402 MB / 362.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.001043/0.0235, allocations: 351.8 kB / 393.3 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.02404, allocations: 231.5 kB / 393.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02404, allocations: 0 / 393.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.02428, allocations: 124.3 kB / 393.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.0247, allocations: 60.12 kB / 393.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.02629, allocations: 0.6501 MB / 394.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.02637, allocations: 89.05 kB / 394.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.02645, allocations: 22.3 kB / 394.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.02653, allocations: 28.48 kB / 394.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02653, allocations: 0 / 394.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of Templates: time 0.007566/0.03409, allocations: 4.682 MB / 399.2 MB, free: 13.24 MB / 378.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 -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.270543321967125]