Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.001217/0.001217, allocations: 88.2 kB / 20.94 MB, free: 3.598 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.001387/0.001387, allocations: 165 kB / 24.24 MB, free: 308 kB / 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.921/0.921, allocations: 158.6 MB / 186 MB, free: 2.918 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.1846/0.1846, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.78e-05, allocations: 5.406 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01206/0.01208, allocations: 15.54 MB / 363.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009499/0.02158, allocations: 5.027 MB / 368.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.02407, allocations: 119.4 kB / 368.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005601/0.02967, allocations: 4.902 MB / 373.3 MB, free: 44 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.03666, allocations: 2.752 MB / 376.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.03915, allocations: 1.286 MB / 377.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008433/0.04758, allocations: 7.348 MB / 384.7 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006301/0.05389, allocations: 5.366 MB / 390.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007081/0.06097, allocations: 3.867 MB / 393.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.06633, allocations: 3.733 MB / 397.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.06824, allocations: 0.5781 MB / 398.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.07113, allocations: 1.557 MB / 399.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.07437, allocations: 3.374 MB / 403.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003881/0.07825, allocations: 2.142 MB / 405.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.08941, allocations: 7.337 MB / 412.6 MB, free: 8.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.08942, allocations: 0 / 412.6 MB, free: 8.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.08942, allocations: 4 kB / 412.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000488/0.08991, allocations: 0 / 412.6 MB, free: 8.531 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01531/0.1052, allocations: 8.21 MB / 420.9 MB, free: 244 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1053, allocations: 8.031 kB / 420.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008878/0.1141, allocations: 3.55 MB / 424.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007204/0.1213, allocations: 3.798 MB / 428.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.1217, allocations: 390.1 kB / 428.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.1233, allocations: 0.496 MB / 429.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.1421, allocations: 9.796 MB / 438.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.1424, allocations: 59.52 kB / 438.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005766/0.1429, allocations: 235.8 kB / 439.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003433/0.1464, allocations: 3.154 MB / 442.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.1616, allocations: 5.821 MB / 448.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2179/0.3795, allocations: 60.13 MB / 0.4964 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.3909, allocations: 3.67 MB / 0.5 GB, free: 29.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.3935, allocations: 1.378 MB / 0.5013 GB, free: 29.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/0.408, allocations: 9.015 MB / 0.5101 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.408, allocations: 75.31 kB / 0.5102 GB, free: 22.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=306): time 6.022e-06/0.408, allocations: 0 / 0.5102 GB, free: 22.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=348): time 0.04691/0.455, allocations: 22.62 MB / 0.5323 GB, free: 0.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.455, allocations: 218.2 kB / 0.5325 GB, free: 332 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/0.4612, allocations: 4.361 MB / 0.5367 GB, free: 12.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/0.4623, allocations: 84.52 kB / 0.5368 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.465, allocations: 4.696 MB / 0.5414 GB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00196/0.467, allocations: 1.387 MB / 0.5427 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/0.4693, allocations: 1.804 MB / 0.5445 GB, free: 4.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4694, allocations: 480.8 kB / 0.545 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.4719, allocations: 1.246 MB / 0.5462 GB, free: 2.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.4777, allocations: 7.92 MB / 0.5539 GB, free: 7.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009048/0.4868, allocations: 10.1 MB / 0.5638 GB, free: 11.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/0.4869, allocations: 48 kB / 0.5638 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.01522/0.5021, allocations: 8.692 MB / 0.5723 GB, free: 3.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.5023, allocations: 72 kB / 0.5724 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/0.5024, allocations: 156 kB / 0.5725 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.5059, allocations: 1.47 MB / 0.574 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/0.5108, allocations: 1.985 MB / 0.5759 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008628/0.5194, allocations: 7.633 MB / 0.5834 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/0.5246, allocations: 0.5696 MB / 0.5839 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.5257, allocations: 491.1 kB / 0.5844 GB, free: 6.469 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002601/0.5283, allocations: 0.8218 MB / 0.5852 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/0.5293, allocations: 0.5556 MB / 0.5857 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006856/0.5361, allocations: 4.2 MB / 0.5898 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.5362, allocations: 41.53 kB / 0.5899 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.5362, allocations: 12 kB / 0.5899 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.5362, allocations: 23.88 kB / 0.5899 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.5552, allocations: 10.3 MB / 0.6 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.5553, allocations: 0 / 0.6 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/0.5572, allocations: 0.6124 MB / 0.6006 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.5603, allocations: 1.249 MB / 0.6018 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.5606, allocations: 63.98 kB / 0.6018 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1966/0.7572, allocations: 7.224 MB / 0.6089 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7572, allocations: 0 / 0.6089 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.7674, allocations: 5.556 MB / 0.6143 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/0.7696, allocations: 0.9959 MB / 0.6153 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008553/0.7705, allocations: 53.59 kB / 0.6153 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.7725, allocations: 317.1 kB / 0.6156 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/0.7731, allocations: 209.1 kB / 0.6158 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.7733, allocations: 94.06 kB / 0.6159 GB, free: 133.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003115/0.7764, allocations: 1.912 MB / 0.6178 GB, free: 133.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7764, allocations: 0 / 0.6178 GB, free: 133.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00801/0.7844, allocations: 1.859 MB / 0.6196 GB, free: 133.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008811/0.7853, allocations: 231.1 kB / 0.6198 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008432/0.7937, allocations: 5.199 MB / 0.6249 GB, free: 133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7937, allocations: 0 / 0.6249 GB, free: 133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00315/0.7969, allocations: 2.265 MB / 0.6271 GB, free: 132.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.7998, allocations: 0.5769 MB / 0.6277 GB, free: 132.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.8185, allocations: 12.54 MB / 0.6399 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/0.8212, allocations: 1.978 MB / 0.6419 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00437/0.8256, allocations: 2.106 MB / 0.6439 GB, free: 122.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.8268, allocations: 357.6 kB / 0.6443 GB, free: 122.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.514e-06/0.8268, allocations: 0 / 0.6443 GB, free: 122.5 MB / 458.7 MB Notification: Performance of Templates: time 0.07544/0.9023, allocations: 62.62 MB / 0.7054 GB, free: 61.88 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.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: 5.293799248058349]