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.001615/0.001615, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001747/0.001747, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.191/1.191, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.3576/0.3576, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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.325e-06/2.325e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.39e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004524/0.004548, allocations: 2.377 MB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.006539, allocations: 0.8839 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.006693, allocations: 7.938 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.007043, allocations: 51.52 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.007286, allocations: 87.33 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.007661, allocations: 143.5 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.008058, allocations: 367.1 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.008251, allocations: 53.12 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.008628, allocations: 223.5 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.008867, allocations: 127.7 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.008927, allocations: 31.94 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.00911, allocations: 87.91 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.009248, allocations: 67.8 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.009372, allocations: 103.7 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.009856, allocations: 295 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.009861, allocations: 0 / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.009862, allocations: 4 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.00987, allocations: 0 / 383.4 MB, free: 13.51 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.0009363/0.01081, allocations: 0.6011 MB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.01086, allocations: 8.031 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.01107, allocations: 48.75 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.01138, allocations: 216.8 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.01141, allocations: 16.88 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.01146, allocations: 24.38 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.01183, allocations: 205.2 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.01185, allocations: 192 / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.01187, allocations: 12.38 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.01189, allocations: 11.94 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.01213, allocations: 117.3 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01322, allocations: 0.5878 MB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.01357, allocations: 174 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01369, allocations: 71.62 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01372, allocations: 8 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.01375, allocations: 37.39 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.01375, allocations: 4 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001905/0.01566, allocations: 0.893 MB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.0157, allocations: 55.41 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01589, allocations: 241.9 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.01593, allocations: 37.7 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01604, allocations: 187.5 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.01614, allocations: 123 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01625, allocations: 71.31 kB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.01643, allocations: 0.5117 MB / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01655, allocations: 51.97 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.01669, allocations: 106.7 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01692, allocations: 164 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01692, allocations: 0 / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000534/0.01746, allocations: 304.7 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01748, allocations: 4 kB / 388.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.01749, allocations: 4 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.01782, allocations: 143.5 kB / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.018, allocations: 59.84 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006472/0.01864, allocations: 0.9007 MB / 389.3 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01878, allocations: 27.97 kB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.01881, allocations: 11.98 kB / 389.3 MB, free: 7.195 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.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * 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.000147/0.01895, allocations: 176.5 kB / 389.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.01902, allocations: 31.86 kB / 389.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.01909, allocations: 38.58 kB / 389.6 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.0191, allocations: 4 kB / 389.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.0191, allocations: 4.031 kB / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.0191, allocations: 0 / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.02021, allocations: 0.723 MB / 390.3 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.02021, allocations: 3.938 kB / 390.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.02038, allocations: 51.91 kB / 390.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.02065, allocations: 143.6 kB / 390.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.02068, allocations: 8 kB / 390.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/0.02124, allocations: 0.8818 MB / 391.4 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02125, allocations: 0 / 391.4 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.02219, allocations: 481.2 kB / 391.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.02229, allocations: 55.81 kB / 391.9 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.02234, allocations: 11.98 kB / 391.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.02249, allocations: 23.92 kB / 392 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.0226, allocations: 51.89 kB / 392 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.02262, allocations: 8 kB / 392 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.02273, allocations: 171.3 kB / 392.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02273, allocations: 0 / 392.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.02307, allocations: 68 kB / 392.2 MB, free: 4.16 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.0009978/0.02407, allocations: 350.7 kB / 392.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.0245, allocations: 200.3 kB / 392.8 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.0245, allocations: 4 kB / 392.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.02469, allocations: 112.5 kB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.02508, allocations: 66.45 kB / 393 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.02661, allocations: 0.6358 MB / 393.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.6e-05/0.02668, allocations: 89.05 kB / 393.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.02677, allocations: 30.41 kB / 393.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.02691, allocations: 110.2 kB / 393.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02691, allocations: 0 / 393.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of Templates: time 0.009232/0.03615, allocations: 4.764 MB / 398.6 MB, free: 13.92 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] 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","",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.7931716330349445]