Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.0009086/0.0009086, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.00109/0.00109, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8104/0.8104, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1283/0.1283, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 408.2 MB, free: 1.676 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.683e-05, allocations: 5.938 kB / 408.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.008511/0.008527, allocations: 12.42 MB / 420.6 MB, free: 5.188 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.01354, allocations: 4.47 MB / 425.1 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006448/0.01418, allocations: 107.5 kB / 425.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.01726, allocations: 3.866 MB / 429 MB, free: 12.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.01988, allocations: 2.574 MB / 431.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.02082, allocations: 1.099 MB / 432.7 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.02478, allocations: 6.719 MB / 439.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.02728, allocations: 4.243 MB / 443.7 MB, free: 13.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.02959, allocations: 3.247 MB / 446.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.03169, allocations: 3.168 MB / 450.1 MB, free: 7.555 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.03207, allocations: 468 kB / 450.5 MB, free: 7.098 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.03327, allocations: 1.451 MB / 452 MB, free: 5.645 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.03485, allocations: 2.891 MB / 454.9 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.03593, allocations: 1.764 MB / 456.6 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.0415, allocations: 9.797 MB / 466.4 MB, free: 7.148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.0415, allocations: 0 / 466.4 MB, free: 7.148 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04151, allocations: 0 / 466.4 MB, free: 7.148 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.228e-05/0.04157, allocations: 0 / 466.4 MB, free: 7.148 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.00661/0.04818, allocations: 6.687 MB / 473.1 MB, free: 396 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.04821, allocations: 8.031 kB / 473.1 MB, free: 388 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1549/0.2031, allocations: 2.784 MB / 475.9 MB, free: 95.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.208, allocations: 3.944 MB / 479.9 MB, free: 94.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2082, allocations: 312.2 kB / 480.2 MB, free: 94.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005868/0.2088, allocations: 414.9 kB / 480.6 MB, free: 94.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.2194, allocations: 13.07 MB / 493.6 MB, free: 88.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.982e-05/0.2195, allocations: 64.48 kB / 493.7 MB, free: 88.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.2198, allocations: 201.5 kB / 493.9 MB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.2217, allocations: 2.505 MB / 496.4 MB, free: 87.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.2342, allocations: 10.81 MB / 0.4953 GB, free: 84.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.2663, allocations: 47.05 MB / 0.5413 GB, free: 42.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005529/0.2718, allocations: 4.077 MB / 0.5452 GB, free: 37.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.2734, allocations: 2.263 MB / 0.5475 GB, free: 35.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005414/0.2788, allocations: 6.129 MB / 0.5534 GB, free: 29.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2788, allocations: 55.7 kB / 0.5535 GB, free: 29.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 3.828e-06/0.2788, allocations: 0 / 0.5535 GB, free: 29.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.02447/0.3033, allocations: 20.19 MB / 0.5732 GB, free: 9.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3033, allocations: 235.1 kB / 0.5734 GB, free: 9.059 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.307, allocations: 5.337 MB / 0.5787 GB, free: 3.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/0.3071, allocations: 53.7 kB / 0.5787 GB, free: 3.652 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.3082, allocations: 4.206 MB / 0.5828 GB, free: 15.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.3087, allocations: 0.8017 MB / 0.5836 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/0.3102, allocations: 1.52 MB / 0.5851 GB, free: 13.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.3103, allocations: 301.1 kB / 0.5854 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.3127, allocations: 2.638 MB / 0.5879 GB, free: 10.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/0.3174, allocations: 7.213 MB / 0.595 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/0.3256, allocations: 10.51 MB / 0.6052 GB, free: 3.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-05/0.3257, allocations: 55.75 kB / 0.6053 GB, free: 3.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01161/0.3373, allocations: 10.51 MB / 0.6156 GB, free: 9.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.3374, allocations: 75.94 kB / 0.6156 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.984e-05/0.3375, allocations: 160 kB / 0.6158 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.3395, allocations: 1.231 MB / 0.617 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.3421, allocations: 1.719 MB / 0.6187 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.3487, allocations: 8.221 MB / 0.6267 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.352, allocations: 487.5 kB / 0.6272 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/0.3523, allocations: 456 kB / 0.6276 GB, free: 12.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003147/0.3555, allocations: 2.695 MB / 0.6302 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008198/0.3563, allocations: 429.1 kB / 0.6306 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.3604, allocations: 3.946 MB / 0.6345 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.3604, allocations: 27.98 kB / 0.6345 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3604, allocations: 4 kB / 0.6345 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3605, allocations: 11.91 kB / 0.6345 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0098/0.3703, allocations: 8.358 MB / 0.6427 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3703, allocations: 4 kB / 0.6427 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/0.3711, allocations: 327.5 kB / 0.643 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.3725, allocations: 0.9974 MB / 0.644 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.602e-05/0.3726, allocations: 35.98 kB / 0.644 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.3789, allocations: 7.578 MB / 0.6514 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3789, allocations: 7.938 kB / 0.6514 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1811/0.56, allocations: 6.8 MB / 0.6581 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.5616, allocations: 0.7303 MB / 0.6588 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.5619, allocations: 35.23 kB / 0.6588 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.563, allocations: 184.1 kB / 0.659 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.5633, allocations: 121.8 kB / 0.6591 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/0.5633, allocations: 57.95 kB / 0.6592 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002794/0.5661, allocations: 3.17 MB / 0.6623 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.5661, allocations: 0 / 0.6623 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003598/0.5697, allocations: 1.439 MB / 0.6637 GB, free: 151.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/0.5701, allocations: 192.9 kB / 0.6638 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004847/0.5749, allocations: 6.068 MB / 0.6698 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5749, allocations: 0 / 0.6698 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.5762, allocations: 1.789 MB / 0.6715 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5778, allocations: 0.5182 MB / 0.672 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.5902, allocations: 12.66 MB / 0.6844 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/0.5935, allocations: 3.587 MB / 0.6879 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.5946, allocations: 349.7 kB / 0.6882 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/0.5946, allocations: 5.094 kB / 0.6882 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.08623/0.6808, allocations: 124.9 MB / 0.8102 GB, free: 32.83 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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: 10.064626448787749]