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.001741/0.001741, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002089/0.002089, allocations: 214.9 kB / 24.48 MB, free: 3.941 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002084/0.002084, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2977, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004146/0.3018, allocations: 2.263 MB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3035, allocations: 0.8607 MB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3037, allocations: 7.938 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.304, allocations: 55.5 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3042, allocations: 75.41 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.3046, allocations: 151.6 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.305, allocations: 351.2 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3051, allocations: 69.05 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.3054, allocations: 159.5 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3056, allocations: 167.3 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.3057, allocations: 28 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3059, allocations: 91.97 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.306, allocations: 71.81 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3061, allocations: 119.5 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.3066, allocations: 381 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3066, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3066, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3066, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.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.001021/0.3077, allocations: 0.5245 MB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3077, allocations: 8.031 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.3079, allocations: 40.78 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3083, allocations: 190.8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.3083, allocations: 20.86 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.3084, allocations: 20.38 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.309, allocations: 276.2 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.309, allocations: 7.953 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.309, allocations: 15.94 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.309, allocations: 4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.3096, allocations: 237.8 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.311, allocations: 0.588 MB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.3115, allocations: 226.5 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.3118, allocations: 125.3 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.3119, allocations: 7.984 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3119, allocations: 42.44 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.3119, allocations: 0 / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003248/0.3151, allocations: 1.174 MB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3152, allocations: 55.41 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3154, allocations: 194.9 kB / 0.5701 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.999e-05/0.3155, allocations: 37.7 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3156, allocations: 144.7 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3157, allocations: 119 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3159, allocations: 73.64 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.316, allocations: 330.8 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3163, allocations: 116 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3166, allocations: 155.4 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.3171, allocations: 243.9 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3171, allocations: 3.938 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009456/0.318, allocations: 417.9 kB / 0.5717 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.318, allocations: 11.98 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3181, allocations: 64 / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.3186, allocations: 204.3 kB / 0.5719 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3188, allocations: 55.91 kB / 0.572 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.3197, allocations: 0.7319 MB / 0.5727 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.3199, allocations: 35.98 kB / 0.5727 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.32, allocations: 16.06 kB / 0.5727 GB, free: 8.656 MB / 414.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.0001917/0.3202, allocations: 145.7 kB / 0.5729 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.3202, allocations: 23.84 kB / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.3203, allocations: 34.66 kB / 0.5729 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3204, allocations: 4 kB / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3204, allocations: 0 / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3204, allocations: 3.984 kB / 0.5729 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3221, allocations: 0.8344 MB / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3221, allocations: 0 / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.3223, allocations: 47.91 kB / 0.5738 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.3228, allocations: 168.7 kB / 0.574 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3228, allocations: 19.95 kB / 0.574 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007368/0.3235, allocations: 0.6812 MB / 0.5746 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3235, allocations: 3.938 kB / 0.5746 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3247, allocations: 0.6045 MB / 0.5752 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3248, allocations: 47.89 kB / 0.5753 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.3249, allocations: 8 kB / 0.5753 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3252, allocations: 40.08 kB / 0.5753 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3253, allocations: 51.84 kB / 0.5754 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.3253, allocations: 11.98 kB / 0.5754 GB, free: 5.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3255, allocations: 143.5 kB / 0.5755 GB, free: 5.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3255, allocations: 3.938 kB / 0.5755 GB, free: 5.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.3259, allocations: 75.95 kB / 0.5756 GB, free: 5.609 MB / 414.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.001493/0.3273, allocations: 390.7 kB / 0.576 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.3281, allocations: 295.6 kB / 0.5762 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3281, allocations: 0 / 0.5762 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3285, allocations: 147.9 kB / 0.5764 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3289, allocations: 47.56 kB / 0.5764 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.3309, allocations: 0.7629 MB / 0.5772 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.3311, allocations: 150.8 kB / 0.5773 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.3312, allocations: 22.3 kB / 0.5773 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.3313, allocations: 23.42 kB / 0.5774 GB, free: 3.895 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3313, allocations: 0 / 0.5774 GB, free: 3.895 MB / 414.1 MB Notification: Performance of Templates: time 0.009757/0.341, allocations: 4.678 MB / 0.5819 GB, free: 15.25 MB / 430.1 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.0649157209991245]