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.001852/0.001852, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001827/0.001827, allocations: 210 kB / 24.48 MB, free: 3.938 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2435/0.2435, allocations: 46.95 MB / 361.6 MB, free: 4.043 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.002083/0.002083, allocations: 71.84 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004461/0.3385, allocations: 2.259 MB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3403, allocations: 0.8607 MB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3404, allocations: 7.938 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3407, allocations: 55.5 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.341, allocations: 71.41 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3414, allocations: 151.6 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.3418, allocations: 355.3 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.342, allocations: 61.12 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.3423, allocations: 155.5 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3426, allocations: 151.3 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.3426, allocations: 28 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3428, allocations: 83.97 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3429, allocations: 79.73 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3431, allocations: 115.5 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.3436, allocations: 385 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3436, allocations: 0 / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3436, allocations: 11.88 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3436, allocations: 0 / 0.5665 GB, free: 15.36 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.001093/0.3447, allocations: 0.5207 MB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3448, allocations: 12.03 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.345, allocations: 32.78 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.3454, allocations: 198.8 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3454, allocations: 16.88 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3455, allocations: 24.38 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.346, allocations: 268.2 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.3461, allocations: 7.953 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3461, allocations: 8 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3461, allocations: 8 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.3466, allocations: 229.9 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3481, allocations: 0.5919 MB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.3487, allocations: 234.4 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.349, allocations: 121.2 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.349, allocations: 7.938 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3491, allocations: 42.5 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.3491, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003333/0.3524, allocations: 1.174 MB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3524, allocations: 55.41 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3527, allocations: 190.9 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.3527, allocations: 37.7 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3529, allocations: 144.8 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.353, allocations: 123 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3531, allocations: 69.64 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3533, allocations: 334.8 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.3536, allocations: 112 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3539, allocations: 163.4 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.3544, allocations: 239.9 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3544, allocations: 7.938 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009477/0.3553, allocations: 418.1 kB / 0.5717 GB, free: 9.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3553, allocations: 4 kB / 0.5717 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3553, allocations: 4 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.3559, allocations: 192.1 kB / 0.5719 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3561, allocations: 63.97 kB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.357, allocations: 0.7281 MB / 0.5727 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.3573, allocations: 35.89 kB / 0.5727 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3573, allocations: 15.98 kB / 0.5727 GB, free: 8.719 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.0001998/0.3575, allocations: 150.4 kB / 0.5728 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.3576, allocations: 23.86 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.857e-05/0.3577, allocations: 34.7 kB / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3577, allocations: 8 kB / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3577, allocations: 0 / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3577, allocations: 0 / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3595, allocations: 0.8304 MB / 0.5737 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3595, allocations: 4.062 kB / 0.5737 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3597, allocations: 55.94 kB / 0.5738 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.3601, allocations: 176.6 kB / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3601, allocations: 4 kB / 0.5739 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007506/0.3609, allocations: 0.6928 MB / 0.5746 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3609, allocations: 0 / 0.5746 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3621, allocations: 0.6084 MB / 0.5752 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3622, allocations: 47.83 kB / 0.5753 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.3623, allocations: 15.98 kB / 0.5753 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3625, allocations: 27.97 kB / 0.5753 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3626, allocations: 51.89 kB / 0.5754 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3627, allocations: 8 kB / 0.5754 GB, free: 5.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3628, allocations: 139.5 kB / 0.5755 GB, free: 5.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3628, allocations: 4.062 kB / 0.5755 GB, free: 5.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.3632, allocations: 75.95 kB / 0.5756 GB, free: 5.668 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.001486/0.3647, allocations: 389.5 kB / 0.5759 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008091/0.3655, allocations: 299.6 kB / 0.5762 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.3655, allocations: 4 kB / 0.5762 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3659, allocations: 143.9 kB / 0.5764 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3663, allocations: 43.89 kB / 0.5764 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3684, allocations: 0.7954 MB / 0.5772 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3686, allocations: 150.8 kB / 0.5773 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.3687, allocations: 31.42 kB / 0.5774 GB, free: 3.926 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3687, allocations: 0 / 0.5774 GB, free: 3.926 MB / 414.1 MB Notification: Performance of Templates: time 0.007989/0.3767, allocations: 4.536 MB / 0.5818 GB, free: 15.39 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 -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: 8.504452377092093]