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.001005/0.001005, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009079/0.0009079, allocations: 161 kB / 24.56 MB, free: 16 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2624/0.2624, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 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 1.433e-06/1.433e-06, allocations: 0 / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.734e-05, allocations: 5.547 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009599/0.009616, allocations: 12.26 MB / 390.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006824/0.01644, allocations: 4.411 MB / 394.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.01754, allocations: 103.5 kB / 394.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.02133, allocations: 3.995 MB / 398.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.02458, allocations: 2.329 MB / 401.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.02595, allocations: 1.111 MB / 402.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005118/0.03107, allocations: 6.796 MB / 409.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.03396, allocations: 4.146 MB / 413.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.0368, allocations: 3.973 MB / 417.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.0392, allocations: 2.919 MB / 420.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.03962, allocations: 420 kB / 420.5 MB, free: 7.969 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.04108, allocations: 1.396 MB / 421.9 MB, free: 6.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.04246, allocations: 2.626 MB / 424.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.04378, allocations: 1.593 MB / 426.1 MB, free: 2.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.04773, allocations: 5.691 MB / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.04774, allocations: 0 / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.04774, allocations: 0 / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.171e-05/0.04778, allocations: 0 / 431.8 MB, free: 12.63 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.006548/0.05433, allocations: 6.6 MB / 438.4 MB, free: 5.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.05437, allocations: 12.03 kB / 438.4 MB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.06053, allocations: 3.028 MB / 441.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1806/0.2412, allocations: 3.142 MB / 444.6 MB, free: 91.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.2414, allocations: 280.8 kB / 444.9 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009168/0.2423, allocations: 377.2 kB / 445.2 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008352/0.2507, allocations: 7.261 MB / 452.5 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.2508, allocations: 55.03 kB / 452.5 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.2511, allocations: 180.2 kB / 452.7 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.2526, allocations: 2.043 MB / 454.8 MB, free: 87.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00695/0.2596, allocations: 3.677 MB / 458.4 MB, free: 87.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.2873, allocations: 51.43 MB / 0.4979 GB, free: 45.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004462/0.2918, allocations: 1.947 MB / 0.4998 GB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.2925, allocations: 0.5118 MB / 0.5003 GB, free: 45.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005198/0.2977, allocations: 4.255 MB / 0.5045 GB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2977, allocations: 56.31 kB / 0.5045 GB, free: 43.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.507e-06/0.2977, allocations: 0 / 0.5045 GB, free: 43.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01372/0.3115, allocations: 8.463 MB / 0.5128 GB, free: 39.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3115, allocations: 196.1 kB / 0.513 GB, free: 39.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/0.3164, allocations: 4.551 MB / 0.5174 GB, free: 37.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.3165, allocations: 45.11 kB / 0.5175 GB, free: 37.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.3183, allocations: 4.17 MB / 0.5215 GB, free: 33.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.3186, allocations: 0.5967 MB / 0.5221 GB, free: 33.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.3197, allocations: 1.54 MB / 0.5236 GB, free: 31.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.3197, allocations: 476.8 kB / 0.5241 GB, free: 31.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/0.3207, allocations: 0.6396 MB / 0.5247 GB, free: 30.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.3235, allocations: 7.429 MB / 0.532 GB, free: 20.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004822/0.3283, allocations: 8.809 MB / 0.5406 GB, free: 8.629 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.3283, allocations: 44 kB / 0.5406 GB, free: 8.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.005714/0.334, allocations: 5.913 MB / 0.5464 GB, free: 3.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.3341, allocations: 83.78 kB / 0.5465 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.3342, allocations: 160 kB / 0.5466 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.3346, allocations: 278.1 kB / 0.5469 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.3368, allocations: 1.628 MB / 0.5485 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3385, allocations: 3.815 MB / 0.5522 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.3409, allocations: 461.6 kB / 0.5526 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/0.3413, allocations: 439.6 kB / 0.5531 GB, free: 12.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (872): * Single equations (assignments): 865 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.3424, allocations: 0.7436 MB / 0.5538 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.3428, allocations: 433.3 kB / 0.5542 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.3437, allocations: 0.7935 MB / 0.555 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.3437, allocations: 21.25 kB / 0.555 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3437, allocations: 4 kB / 0.555 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3437, allocations: 7.422 kB / 0.555 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.3498, allocations: 4.736 MB / 0.5596 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3498, allocations: 12.11 kB / 0.5596 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.3504, allocations: 239.6 kB / 0.5599 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.3506, allocations: 83.3 kB / 0.5599 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.3506, allocations: 34.09 kB / 0.56 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.3522, allocations: 3.528 MB / 0.5634 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3522, allocations: 8 kB / 0.5634 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.354, allocations: 2.012 MB / 0.5654 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.3545, allocations: 405.1 kB / 0.5658 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.3547, allocations: 31.98 kB / 0.5658 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.3554, allocations: 119.8 kB / 0.5659 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3555, allocations: 92.19 kB / 0.566 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.3556, allocations: 41.78 kB / 0.5661 GB, free: 15.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001993/0.3576, allocations: 1.971 MB / 0.568 GB, free: 13.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 0.568 GB, free: 13.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003266/0.3608, allocations: 1.109 MB / 0.5691 GB, free: 11.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003028/0.3611, allocations: 180.4 kB / 0.5692 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.3645, allocations: 3.218 MB / 0.5724 GB, free: 8.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3645, allocations: 5.938 kB / 0.5724 GB, free: 8.527 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.3651, allocations: 0.6992 MB / 0.5731 GB, free: 7.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.3666, allocations: 0.533 MB / 0.5736 GB, free: 7.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.3766, allocations: 8.647 MB / 0.582 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.3778, allocations: 1.448 MB / 0.5834 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002506/0.3803, allocations: 1.798 MB / 0.5852 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.3808, allocations: 256.5 kB / 0.5854 GB, free: 10.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3808, allocations: 4 kB / 0.5855 GB, free: 10.91 MB / 458.7 MB Notification: Performance of Templates: time 0.1845/0.5652, allocations: 28.8 MB / 0.6136 GB, free: 136.7 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.383841764181852]