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.001808/0.001808, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.00209/0.00209, allocations: 161 kB / 24.99 MB, free: 8.797 MB / 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 1.234/1.234, allocations: 177 MB / 205.2 MB, free: 5.586 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.3323/0.3323, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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 2.244e-06/2.244e-06, allocations: 0 / 378.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.066e-05/5.29e-05, allocations: 6.25 kB / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004202/0.004255, allocations: 2.412 MB / 381.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.005818, allocations: 0.8839 MB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.005984, allocations: 4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.006301, allocations: 55.5 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.006495, allocations: 87.28 kB / 382.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.00689, allocations: 151.5 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.007236, allocations: 359.1 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.007408, allocations: 57.12 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.008172, allocations: 211.6 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.008384, allocations: 139.6 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.008426, allocations: 32 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.00856, allocations: 83.84 kB / 383.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.008658, allocations: 71.8 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.008747, allocations: 103.7 kB / 383.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.009124, allocations: 295 kB / 383.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.009129, allocations: 4 kB / 383.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.009131, allocations: 0 / 383.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.009137, allocations: 0 / 383.6 MB, free: 13.5 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.0006974/0.009834, allocations: 0.5934 MB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.009872, allocations: 8.031 kB / 384.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.01005, allocations: 60.73 kB / 384.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.0103, allocations: 208.8 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.01033, allocations: 16.88 kB / 384.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.01037, allocations: 28.31 kB / 384.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.01072, allocations: 229.2 kB / 384.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01073, allocations: 4.188 kB / 384.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.01075, allocations: 8.375 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.01077, allocations: 7.938 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.01103, allocations: 142.9 kB / 384.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.01192, allocations: 0.6185 MB / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.01225, allocations: 185.2 kB / 385.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.01239, allocations: 87.66 kB / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.01241, allocations: 4 kB / 385.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.01244, allocations: 41.38 kB / 385.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.01244, allocations: 0 / 385.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001873/0.01431, allocations: 0.9801 MB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.01435, allocations: 59.39 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.01451, allocations: 238 kB / 387.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.01455, allocations: 37.7 kB / 387.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.01464, allocations: 187.5 kB / 387.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.01471, allocations: 123.1 kB / 387.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.01479, allocations: 71.34 kB / 387.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.01493, allocations: 0.4962 MB / 388 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.01507, allocations: 71.95 kB / 388.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.01522, allocations: 123.8 kB / 388.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.01544, allocations: 187.9 kB / 388.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01545, allocations: 4 kB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004897/0.01594, allocations: 332.7 kB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.01596, allocations: 8 kB / 388.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01597, allocations: 0 / 388.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.01628, allocations: 163.5 kB / 388.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01642, allocations: 47.97 kB / 388.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008581/0.01728, allocations: 0.9194 MB / 389.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01739, allocations: 27.97 kB / 389.9 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.01741, allocations: 15.98 kB / 389.9 MB, free: 6.895 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.000128/0.01754, allocations: 176.8 kB / 390.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.0176, allocations: 43.8 kB / 390.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.01765, allocations: 34.64 kB / 390.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01766, allocations: 0 / 390.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.01766, allocations: 4 kB / 390.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.01767, allocations: 0 / 390.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.01866, allocations: 0.7888 MB / 391 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01866, allocations: 0 / 391 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.0188, allocations: 39.98 kB / 391 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.01904, allocations: 151.4 kB / 391.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.01906, allocations: 11.98 kB / 391.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004633/0.01952, allocations: 0.8859 MB / 392 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.01953, allocations: 3.938 kB / 392 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.02021, allocations: 0.5051 MB / 392.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.0203, allocations: 47.81 kB / 392.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.02034, allocations: 15.94 kB / 392.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.02045, allocations: 28.03 kB / 392.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.02055, allocations: 47.91 kB / 392.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.02057, allocations: 15.92 kB / 392.7 MB, free: 3.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.159e-05/0.02066, allocations: 175.4 kB / 392.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02066, allocations: 3.938 kB / 392.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.02092, allocations: 64 kB / 392.9 MB, free: 3.738 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.0008988/0.02182, allocations: 346.7 kB / 393.3 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.02229, allocations: 231.5 kB / 393.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02229, allocations: 0 / 393.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.02247, allocations: 128.3 kB / 393.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.02278, allocations: 51.94 kB / 393.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.02428, allocations: 0.6508 MB / 394.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.02435, allocations: 85.06 kB / 394.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.02443, allocations: 22.28 kB / 394.4 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.0245, allocations: 24.5 kB / 394.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.003e-06/0.02451, allocations: 0 / 394.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of Templates: time 0.007925/0.03243, allocations: 4.365 MB / 398.8 MB, free: 13.9 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.8603134730365127]