Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001321/0.001321, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001395/0.001395, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.114/1.114, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2869/0.2869, allocations: 32.81 MB / 294.3 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.581e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02572/0.02575, allocations: 12.26 MB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.04019, allocations: 4.423 MB / 392.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.04209, allocations: 103.5 kB / 392.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004043/0.04613, allocations: 3.984 MB / 396.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.05009, allocations: 2.325 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.05162, allocations: 1.119 MB / 400.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006275/0.0579, allocations: 6.785 MB / 407 MB, free: 5.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.06167, allocations: 4.146 MB / 411.2 MB, free: 1.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.06461, allocations: 3.001 MB / 414.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.06714, allocations: 2.954 MB / 417.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.06768, allocations: 423.9 kB / 417.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.06931, allocations: 1.385 MB / 418.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.07078, allocations: 2.626 MB / 421.5 MB, free: 6.914 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.07214, allocations: 1.601 MB / 423.1 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.07684, allocations: 5.675 MB / 428.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.07685, allocations: 0 / 428.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07685, allocations: 3.938 kB / 428.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.132e-05/0.07694, allocations: 0 / 428.8 MB, free: 15.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.00732/0.08426, allocations: 6.553 MB / 435.4 MB, free: 8.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.0843, allocations: 8.031 kB / 435.4 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006407/0.0907, allocations: 3.098 MB / 438.5 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.09483, allocations: 3.295 MB / 441.8 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.09497, allocations: 279.5 kB / 442.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.09541, allocations: 380.1 kB / 442.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1736/0.269, allocations: 7.268 MB / 449.7 MB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.2692, allocations: 52.02 kB / 449.7 MB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.2695, allocations: 176.1 kB / 449.9 MB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001922/0.2714, allocations: 2.144 MB / 452.1 MB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007921/0.2793, allocations: 3.879 MB / 455.9 MB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.3171, allocations: 51.12 MB / 0.4952 GB, free: 47.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009082/0.3262, allocations: 2.095 MB / 0.4972 GB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.3282, allocations: 0.6829 MB / 0.4979 GB, free: 47.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.3385, allocations: 4.434 MB / 0.5022 GB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3385, allocations: 53.23 kB / 0.5023 GB, free: 45.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 8.706e-06/0.3385, allocations: 3.844 kB / 0.5023 GB, free: 45.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.04267/0.3812, allocations: 12.5 MB / 0.5145 GB, free: 41.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.3813, allocations: 197.9 kB / 0.5147 GB, free: 40.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007062/0.3883, allocations: 4.378 MB / 0.5189 GB, free: 38.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.3888, allocations: 49.7 kB / 0.519 GB, free: 38.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/0.3912, allocations: 4.042 MB / 0.5229 GB, free: 35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.3923, allocations: 0.7211 MB / 0.5236 GB, free: 34.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/0.3941, allocations: 1.524 MB / 0.5251 GB, free: 32.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.3942, allocations: 480.8 kB / 0.5256 GB, free: 32.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.3958, allocations: 0.7419 MB / 0.5263 GB, free: 31.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004203/0.4, allocations: 7.105 MB / 0.5333 GB, free: 22.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.4056, allocations: 8.581 MB / 0.5416 GB, free: 10.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/0.4057, allocations: 44 kB / 0.5417 GB, free: 10.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.009293/0.415, allocations: 6.512 MB / 0.548 GB, free: 4.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.415, allocations: 68 kB / 0.5481 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-05/0.4151, allocations: 152.9 kB / 0.5482 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.4168, allocations: 0.7977 MB / 0.549 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.4192, allocations: 1.567 MB / 0.5506 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.4245, allocations: 5.854 MB / 0.5563 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.4284, allocations: 423.4 kB / 0.5567 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004996/0.4289, allocations: 420 kB / 0.5571 GB, free: 11.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001687/0.4306, allocations: 0.7269 MB / 0.5578 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/0.4314, allocations: 453.2 kB / 0.5582 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.4341, allocations: 1.752 MB / 0.5599 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.4341, allocations: 20 kB / 0.56 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4341, allocations: 4 kB / 0.56 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.4341, allocations: 11.91 kB / 0.56 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008826/0.443, allocations: 5.766 MB / 0.5656 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.443, allocations: 4.281 kB / 0.5656 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.4437, allocations: 303.5 kB / 0.5659 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.4452, allocations: 0.5798 MB / 0.5665 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4453, allocations: 31.11 kB / 0.5665 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.4496, allocations: 5.317 MB / 0.5717 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4496, allocations: 7.938 kB / 0.5717 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.4543, allocations: 2.854 MB / 0.5745 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.4557, allocations: 409.1 kB / 0.5749 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/0.4561, allocations: 28 kB / 0.5749 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4571, allocations: 151.8 kB / 0.575 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.4574, allocations: 100.8 kB / 0.5751 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.4575, allocations: 55.28 kB / 0.5752 GB, free: 8.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002981/0.4604, allocations: 1.901 MB / 0.577 GB, free: 6.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4604, allocations: 0 / 0.577 GB, free: 6.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005435/0.4659, allocations: 1.293 MB / 0.5783 GB, free: 4.863 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005574/0.4664, allocations: 177.6 kB / 0.5785 GB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006326/0.4728, allocations: 3.533 MB / 0.5819 GB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.4728, allocations: 0 / 0.5819 GB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4741, allocations: 0.9587 MB / 0.5829 GB, free: 160 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.4769, allocations: 0.5282 MB / 0.5834 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4907, allocations: 8.831 MB / 0.592 GB, free: 6.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.4921, allocations: 1.478 MB / 0.5934 GB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003159/0.4953, allocations: 1.752 MB / 0.5952 GB, free: 3.418 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/0.4961, allocations: 268.4 kB / 0.5954 GB, free: 3.156 MB / 458.7 MB Notification: Performance of SimCode: time 2.645e-06/0.4961, allocations: 0 / 0.5954 GB, free: 3.156 MB / 458.7 MB Notification: Performance of Templates: time 0.2127/0.7089, allocations: 37.75 MB / 0.6323 GB, free: 116.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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: 4.999549543019384]