Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001587/0.001587, allocations: 76.84 kB / 19.93 MB, free: 1.77 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.001551/0.001551, allocations: 169 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.481/1.481, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.2213/0.2213, allocations: 32.39 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.FrameForces,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.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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 407.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.539e-05, allocations: 2.281 kB / 407.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01685/0.01688, allocations: 12 MB / 419.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.02887, allocations: 4.404 MB / 423.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/0.032, allocations: 103.5 kB / 423.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009028/0.04103, allocations: 3.862 MB / 427.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008664/0.0497, allocations: 2.512 MB / 430.3 MB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.05308, allocations: 1.111 MB / 431.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.06478, allocations: 6.594 MB / 438 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00756/0.07234, allocations: 4.184 MB / 442.2 MB, free: 24 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/0.08045, allocations: 3.184 MB / 445.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006187/0.08664, allocations: 3.098 MB / 448.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.08841, allocations: 456 kB / 448.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.09255, allocations: 1.443 MB / 450.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004834/0.09738, allocations: 2.821 MB / 453.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004864/0.1022, allocations: 1.725 MB / 454.9 MB, free: 3.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.117, allocations: 9.505 MB / 464.4 MB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.117, allocations: 0 / 464.4 MB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.117, allocations: 0 / 464.4 MB, free: 9.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003436/0.1173, allocations: 4 kB / 464.4 MB, free: 9.738 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01923/0.1365, allocations: 6.526 MB / 470.9 MB, free: 3.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1366, allocations: 8.031 kB / 470.9 MB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.1505, allocations: 2.778 MB / 473.7 MB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2795/0.43, allocations: 3.893 MB / 477.6 MB, free: 64.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.4304, allocations: 299 kB / 477.9 MB, free: 64.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.4321, allocations: 404.2 kB / 478.3 MB, free: 64.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/0.4585, allocations: 12.67 MB / 490.9 MB, free: 58.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.4587, allocations: 59.03 kB / 491 MB, free: 58.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005866/0.4593, allocations: 187.7 kB / 491.2 MB, free: 58.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004073/0.4633, allocations: 2.408 MB / 493.6 MB, free: 58.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.4834, allocations: 10.5 MB / 0.4923 GB, free: 49.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/0.5363, allocations: 45.81 MB / 0.537 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.5485, allocations: 4.341 MB / 0.5413 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004059/0.5525, allocations: 2.252 MB / 0.5435 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/0.5693, allocations: 6.571 MB / 0.5499 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.5694, allocations: 51.86 kB / 0.5499 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 5.029e-06/0.5694, allocations: 0 / 0.5499 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.05769/0.6271, allocations: 18.78 MB / 0.5683 GB, free: 2.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.6273, allocations: 201.2 kB / 0.5685 GB, free: 2.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.6383, allocations: 5.271 MB / 0.5736 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007305/0.639, allocations: 57.69 kB / 0.5737 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004322/0.6433, allocations: 4.082 MB / 0.5777 GB, free: 8.906 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001928/0.6453, allocations: 0.7987 MB / 0.5784 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002937/0.6482, allocations: 1.492 MB / 0.5799 GB, free: 6.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6484, allocations: 309 kB / 0.5802 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/0.6533, allocations: 2.595 MB / 0.5827 GB, free: 3.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/0.6647, allocations: 7.094 MB / 0.5896 GB, free: 10.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.6835, allocations: 10.34 MB / 0.5997 GB, free: 13.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003584/0.6838, allocations: 48 kB / 0.5998 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02581/0.7096, allocations: 10.35 MB / 0.6099 GB, free: 3.469 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.7099, allocations: 72 kB / 0.61 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003694/0.7103, allocations: 156 kB / 0.6101 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/0.7143, allocations: 1.219 MB / 0.6113 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007243/0.7216, allocations: 1.704 MB / 0.613 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.7353, allocations: 8.068 MB / 0.6208 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008421/0.7437, allocations: 483.4 kB / 0.6213 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/0.7456, allocations: 444 kB / 0.6217 GB, free: 7.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (904): * Single equations (assignments): 897 * 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%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008091/0.7537, allocations: 2.629 MB / 0.6243 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/0.7555, allocations: 417.2 kB / 0.6247 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.7657, allocations: 3.893 MB / 0.6285 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-05/0.7658, allocations: 23.98 kB / 0.6285 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/0.7658, allocations: 8 kB / 0.6285 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.7658, allocations: 11.91 kB / 0.6285 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/0.7892, allocations: 8.123 MB / 0.6365 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.7892, allocations: 4 kB / 0.6365 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.7913, allocations: 355.4 kB / 0.6368 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/0.7945, allocations: 0.9897 MB / 0.6378 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/0.7948, allocations: 39.98 kB / 0.6378 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.8058, allocations: 7.442 MB / 0.6451 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.8058, allocations: 7.984 kB / 0.6451 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.8184, allocations: 6.675 MB / 0.6516 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/0.8211, allocations: 0.7235 MB / 0.6523 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007258/0.8218, allocations: 39.98 kB / 0.6524 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.8241, allocations: 179.7 kB / 0.6525 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/0.8245, allocations: 117 kB / 0.6526 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.8246, allocations: 52 kB / 0.6527 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006841/0.8315, allocations: 3.135 MB / 0.6557 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8315, allocations: 0 / 0.6557 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009184/0.8407, allocations: 1.406 MB / 0.6571 GB, free: 2.516 MB / 0.5137 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 (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,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.0007428/0.8414, allocations: 190.8 kB / 0.6573 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2824/1.124, allocations: 5.969 MB / 0.6631 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.124, allocations: 1.25 kB / 0.6631 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003886/1.128, allocations: 1.768 MB / 0.6649 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008227/1.136, allocations: 0.5111 MB / 0.6654 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/1.169, allocations: 11.83 MB / 0.6769 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006252/1.176, allocations: 3.516 MB / 0.6803 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005449/1.181, allocations: 2.193 MB / 0.6825 GB, free: 168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.182, allocations: 294.3 kB / 0.6828 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.783e-06/1.182, allocations: 0 / 0.6828 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.07622/1.258, allocations: 40.61 MB / 0.7224 GB, free: 132.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.94866731017828]