Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001737/0.001737, 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.002166/0.002166, allocations: 215.4 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.229/0.229, allocations: 46.98 MB / 361.6 MB, free: 4.008 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.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.05 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01436/0.3031, allocations: 11.07 MB / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009499/0.3126, allocations: 4.295 MB / 0.5768 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.3141, allocations: 99.5 kB / 0.5769 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007092/0.3212, allocations: 3.614 MB / 0.5805 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.3269, allocations: 2.253 MB / 0.5827 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.3291, allocations: 0.9943 MB / 0.5836 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009091/0.3382, allocations: 6.043 MB / 0.5895 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005555/0.3438, allocations: 3.505 MB / 0.5929 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.3475, allocations: 1.99 MB / 0.5949 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.3519, allocations: 2.819 MB / 0.5976 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009177/0.3528, allocations: 408 kB / 0.598 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.3554, allocations: 1.346 MB / 0.5993 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002421/0.3578, allocations: 2.493 MB / 0.6018 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.3602, allocations: 2.019 MB / 0.6038 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009529/0.3697, allocations: 8.669 MB / 0.6122 GB, free: 300 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3697, allocations: 4 kB / 0.6122 GB, free: 296 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3697, allocations: 0 / 0.6122 GB, free: 296 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.3699, allocations: 0 / 0.6122 GB, free: 296 kB / 446.1 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.01225/0.3821, allocations: 6.084 MB / 0.6182 GB, free: 10.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3822, allocations: 12.03 kB / 0.6182 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.3939, allocations: 2.571 MB / 0.6207 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009588/0.4035, allocations: 3.68 MB / 0.6243 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.4038, allocations: 279.5 kB / 0.6245 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.4049, allocations: 379.7 kB / 0.6249 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.4282, allocations: 11.65 MB / 0.6363 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/0.4285, allocations: 59.53 kB / 0.6363 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.4299, allocations: 175.8 kB / 0.6365 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004009/0.4339, allocations: 2.15 MB / 0.6386 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.4544, allocations: 9.59 MB / 0.648 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06005/0.5144, allocations: 42.77 MB / 0.6897 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.5249, allocations: 3.337 MB / 0.693 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.5279, allocations: 2.001 MB / 0.6949 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.5396, allocations: 5.639 MB / 0.7005 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.5396, allocations: 51.5 kB / 0.7005 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.218e-06/0.5397, allocations: 0 / 0.7005 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04624/0.5859, allocations: 16.53 MB / 0.7166 GB, free: 2.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.586, allocations: 200.9 kB / 0.7168 GB, free: 2.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0068/0.5928, allocations: 4.802 MB / 0.7215 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.5932, allocations: 53.61 kB / 0.7216 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003198/0.5964, allocations: 3.871 MB / 0.7254 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/0.5973, allocations: 0.6941 MB / 0.726 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/0.5993, allocations: 1.428 MB / 0.7274 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5995, allocations: 301.1 kB / 0.7277 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/0.603, allocations: 2.309 MB / 0.73 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2444/0.8474, allocations: 6.63 MB / 0.7365 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/0.8565, allocations: 9.574 MB / 0.7458 GB, free: 141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.8566, allocations: 44.31 kB / 0.7458 GB, free: 141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01406/0.8707, allocations: 9.549 MB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.8708, allocations: 78.41 kB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.8709, allocations: 148.7 kB / 0.7554 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/0.8738, allocations: 1.207 MB / 0.7566 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/0.8783, allocations: 1.57 MB / 0.7581 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.8859, allocations: 8.01 MB / 0.7659 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005428/0.8913, allocations: 364.1 kB / 0.7663 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008545/0.8922, allocations: 419.6 kB / 0.7667 GB, free: 128.1 MB / 0.5606 GB 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.003273/0.8954, allocations: 2.469 MB / 0.7691 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/0.8961, allocations: 399.6 kB / 0.7695 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.9013, allocations: 3.348 MB / 0.7727 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.9014, allocations: 16 kB / 0.7727 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9014, allocations: 8 kB / 0.7728 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.9014, allocations: 7.969 kB / 0.7728 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.9125, allocations: 6.991 MB / 0.7796 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.9125, allocations: 8.656 kB / 0.7796 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.9138, allocations: 295.5 kB / 0.7799 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.9163, allocations: 0.9858 MB / 0.7808 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.9164, allocations: 33.53 kB / 0.7809 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006607/0.923, allocations: 7.365 MB / 0.7881 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.923, allocations: 7.938 kB / 0.7881 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/0.9299, allocations: 5.805 MB / 0.7937 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009453/0.9308, allocations: 372.4 kB / 0.7941 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.9312, allocations: 27.98 kB / 0.7941 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.9325, allocations: 87.89 kB / 0.7942 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.9328, allocations: 112.7 kB / 0.7943 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.9329, allocations: 48 kB / 0.7944 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003013/0.9359, allocations: 2.81 MB / 0.7971 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9359, allocations: 0 / 0.7971 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004862/0.9408, allocations: 1.134 MB / 0.7982 GB, free: 96.78 MB / 0.5606 GB 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.0003288/0.9411, allocations: 167.5 kB / 0.7984 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006379/0.9475, allocations: 5.367 MB / 0.8036 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.9475, allocations: 0 / 0.8036 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.9491, allocations: 1.518 MB / 0.8051 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.9516, allocations: 0.5065 MB / 0.8056 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.9648, allocations: 10.9 MB / 0.8162 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/0.9677, allocations: 3.254 MB / 0.8194 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003674/0.9714, allocations: 2.026 MB / 0.8214 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.972, allocations: 263.4 kB / 0.8216 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/0.972, allocations: 1.969 kB / 0.8216 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06348/1.036, allocations: 43.69 MB / 0.8643 GB, free: 29.57 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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: 6.946153990997118]