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.0007612/0.0007612, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007554/0.0007554, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 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.8042/0.8042, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1233/0.1233, allocations: 32.37 MB / 270.4 MB, free: 14.98 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.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.533e-06/1.533e-06, allocations: 0 / 408.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.593e-05, allocations: 6.078 kB / 408.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.008399/0.008415, allocations: 11.99 MB / 420.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007026/0.01544, allocations: 4.4 MB / 424.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.01708, allocations: 103.5 kB / 424.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.0207, allocations: 3.862 MB / 428.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.0241, allocations: 2.512 MB / 431 MB, free: 6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.0255, allocations: 1.107 MB / 432.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1552/0.1807, allocations: 6.587 MB / 438.7 MB, free: 17.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004346/0.185, allocations: 4.178 MB / 442.9 MB, free: 17.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.1887, allocations: 3.189 MB / 446.1 MB, free: 17.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.1919, allocations: 3.109 MB / 449.2 MB, free: 16.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.1925, allocations: 454.4 kB / 449.6 MB, free: 16.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1944, allocations: 1.435 MB / 451.1 MB, free: 16.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.196, allocations: 2.824 MB / 453.9 MB, free: 16.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.1976, allocations: 1.721 MB / 455.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.2032, allocations: 9.506 MB / 465.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2032, allocations: 0 / 465.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.2032, allocations: 7.875 kB / 465.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.2033, allocations: 0 / 465.1 MB, free: 10.53 MB / 362.7 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.006688/0.21, allocations: 6.523 MB / 471.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2101, allocations: 15.03 kB / 471.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005402/0.2155, allocations: 2.759 MB / 474.4 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.2192, allocations: 3.903 MB / 478.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/0.2193, allocations: 298.6 kB / 478.6 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/0.2197, allocations: 401.4 kB / 479 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.2314, allocations: 12.68 MB / 491.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.2315, allocations: 60.09 kB / 491.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.2319, allocations: 194.9 kB / 491.9 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.234, allocations: 2.404 MB / 494.3 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.246, allocations: 10.52 MB / 0.493 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.2811, allocations: 45.83 MB / 0.5378 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.2876, allocations: 4.337 MB / 0.542 GB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.2895, allocations: 2.248 MB / 0.5442 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007021/0.2966, allocations: 6.58 MB / 0.5507 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2966, allocations: 47.88 kB / 0.5507 GB, free: 10.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 3.065e-06/0.2966, allocations: 0 / 0.5507 GB, free: 10.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.02815/0.3248, allocations: 18.79 MB / 0.5691 GB, free: 7.492 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3248, allocations: 197.2 kB / 0.5692 GB, free: 7.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.3296, allocations: 5.271 MB / 0.5744 GB, free: 1.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3297, allocations: 57.7 kB / 0.5744 GB, free: 1.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.3316, allocations: 4.077 MB / 0.5784 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.3321, allocations: 0.7985 MB / 0.5792 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.3334, allocations: 1.491 MB / 0.5807 GB, free: 11.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.3335, allocations: 305.1 kB / 0.581 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.3361, allocations: 2.599 MB / 0.5835 GB, free: 8.656 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.3406, allocations: 7.093 MB / 0.5904 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00764/0.3483, allocations: 10.33 MB / 0.6005 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/0.3483, allocations: 44 kB / 0.6006 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01018/0.3585, allocations: 10.35 MB / 0.6107 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.3586, allocations: 75.98 kB / 0.6107 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-05/0.3587, allocations: 156 kB / 0.6109 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.3603, allocations: 1.22 MB / 0.6121 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.3629, allocations: 1.704 MB / 0.6137 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1813/0.5443, allocations: 8.067 MB / 0.6216 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/0.5486, allocations: 474.5 kB / 0.6221 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/0.5499, allocations: 449.9 kB / 0.6225 GB, free: 164.2 MB / 0.5105 GB 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.004444/0.5543, allocations: 2.629 MB / 0.6251 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/0.5551, allocations: 422.2 kB / 0.6255 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.5599, allocations: 3.896 MB / 0.6293 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.5599, allocations: 21.09 kB / 0.6293 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5599, allocations: 4.938 kB / 0.6293 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.56, allocations: 8.672 kB / 0.6293 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.573, allocations: 8.111 MB / 0.6372 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.573, allocations: 8.344 kB / 0.6372 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.574, allocations: 361.1 kB / 0.6376 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5756, allocations: 0.9893 MB / 0.6385 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/0.5758, allocations: 39.11 kB / 0.6386 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.581, allocations: 7.442 MB / 0.6458 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.581, allocations: 3.938 kB / 0.6459 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.5873, allocations: 6.669 MB / 0.6524 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/0.5892, allocations: 0.7245 MB / 0.6531 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007014/0.5899, allocations: 31.38 kB / 0.6531 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.5914, allocations: 192.4 kB / 0.6533 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.5916, allocations: 121.2 kB / 0.6534 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.5917, allocations: 57.97 kB / 0.6535 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00374/0.5954, allocations: 3.124 MB / 0.6565 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5954, allocations: 0 / 0.6565 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004909/0.6003, allocations: 1.403 MB / 0.6579 GB, free: 151.1 MB / 0.5105 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.0004866/0.6008, allocations: 193.3 kB / 0.6581 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005924/0.6067, allocations: 5.99 MB / 0.6639 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6067, allocations: 0 / 0.6639 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.6083, allocations: 1.767 MB / 0.6656 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6108, allocations: 0.5213 MB / 0.6661 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.6248, allocations: 12.35 MB / 0.6782 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.6276, allocations: 3.481 MB / 0.6816 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.6288, allocations: 352.4 kB / 0.6819 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/0.6288, allocations: 0 / 0.6819 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.08988/0.7187, allocations: 121.7 MB / 0.8008 GB, free: 7.945 MB / 0.5105 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: 9.64097370300442]