Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001089/0.001089, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.00238, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009978/0.0009978, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.00216, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8553/0.8553, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1372/0.9925, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1275/0.1275, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02074/0.1483, allocations: 12.3 MB / 266.1 MB, free: 3.883 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.535e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01408/0.0141, allocations: 15.27 MB / 282.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1485, allocations: 5.59 MB / 288.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.1504, allocations: 129.2 kB / 288.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004986/0.1554, allocations: 5.197 MB / 293.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.1594, allocations: 2.792 MB / 296.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1615, allocations: 1.44 MB / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007889/0.1694, allocations: 7.945 MB / 305.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006453/0.1758, allocations: 5.584 MB / 311.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/0.1825, allocations: 5.151 MB / 316.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.1878, allocations: 4.047 MB / 320.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.1891, allocations: 0.6484 MB / 321.2 MB, free: 148 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.1919, allocations: 1.788 MB / 323 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002612/0.1945, allocations: 3.241 MB / 326.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002546/0.1971, allocations: 1.843 MB / 328 MB, free: 9.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006587/0.2037, allocations: 7.034 MB / 335.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.2037, allocations: 0 / 335.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2037, allocations: 0 / 335.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002197/0.2039, allocations: 4 kB / 335.1 MB, free: 2.523 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01213/0.216, allocations: 8.793 MB / 343.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2161, allocations: 12.03 kB / 343.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/0.2213, allocations: 1.593 MB / 345.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.2267, allocations: 3.523 MB / 349 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.2269, allocations: 377.7 kB / 349.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007816/0.2277, allocations: 0.5101 MB / 349.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00866/0.2364, allocations: 7.422 MB / 357.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.2365, allocations: 66.42 kB / 357.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.2368, allocations: 236.4 kB / 357.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/0.2385, allocations: 2.185 MB / 359.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.2442, allocations: 3.748 MB / 363.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03439/0.2786, allocations: 43.06 MB / 406.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005882/0.2844, allocations: 2.684 MB / 409.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.2852, allocations: 0.6402 MB / 409.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009783/0.2949, allocations: 6.66 MB / 416.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.295, allocations: 60.55 kB / 416.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.568e-06/0.295, allocations: 0 / 416.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.04265/0.3376, allocations: 12.75 MB / 429.4 MB, free: 3.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.3377, allocations: 166.5 kB / 429.6 MB, free: 2.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/0.3431, allocations: 4.467 MB / 434 MB, free: 14.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.3433, allocations: 69.7 kB / 434.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.3457, allocations: 4.174 MB / 438.3 MB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/0.3466, allocations: 1.201 MB / 439.5 MB, free: 8.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.3483, allocations: 1.605 MB / 441.1 MB, free: 7.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.3484, allocations: 305.1 kB / 441.4 MB, free: 6.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.3506, allocations: 1.141 MB / 442.5 MB, free: 5.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1329/0.4835, allocations: 5.705 MB / 448.2 MB, free: 124 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/0.4898, allocations: 8.073 MB / 456.3 MB, free: 117.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/0.4899, allocations: 50.38 kB / 456.3 MB, free: 117.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01022/0.5001, allocations: 6.359 MB / 462.7 MB, free: 116.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.5002, allocations: 73.94 kB / 462.8 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/0.5004, allocations: 175.1 kB / 462.9 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.5038, allocations: 1.457 MB / 464.4 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.507, allocations: 2.043 MB / 466.4 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/0.5123, allocations: 4.686 MB / 471.1 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.5151, allocations: 347 kB / 471.5 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.5154, allocations: 406.9 kB / 471.9 MB, free: 114.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00147/0.5169, allocations: 0.7867 MB / 472.6 MB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.5173, allocations: 359.4 kB / 473 MB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.5208, allocations: 2.456 MB / 475.5 MB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5208, allocations: 33.56 kB / 475.5 MB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5208, allocations: 11.03 kB / 475.5 MB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.5209, allocations: 13.88 kB / 475.5 MB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008866/0.5297, allocations: 8.31 MB / 483.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/0.5297, allocations: 20.7 kB / 483.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5308, allocations: 499.7 kB / 484.3 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007958/0.5316, allocations: 0.7458 MB / 485.1 MB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.5348, allocations: 1.453 MB / 486.5 MB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.5349, allocations: 71.75 kB / 486.6 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/0.5391, allocations: 3.539 MB / 490.1 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.5391, allocations: 19.94 kB / 490.2 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.5433, allocations: 3.876 MB / 494 MB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/0.5436, allocations: 73.52 kB / 494.1 MB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.5446, allocations: 68.86 kB / 494.2 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.5449, allocations: 234.4 kB / 494.4 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.545, allocations: 72 kB / 494.5 MB, free: 102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.5461, allocations: 1.745 MB / 496.2 MB, free: 100.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5461, allocations: 0 / 496.2 MB, free: 100.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003243/0.5494, allocations: 1.785 MB / 498 MB, free: 98.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (revolute.phi,revolute.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 (251): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.5498, allocations: 275.6 kB / 498.3 MB, free: 98.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.553, allocations: 3.99 MB / 0.4905 GB, free: 94.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001733/0.5531, allocations: 143.3 kB / 0.4906 GB, free: 94.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.5547, allocations: 1.927 MB / 0.4925 GB, free: 92.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.5572, allocations: 4.65 MB / 0.497 GB, free: 87.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/0.5819, allocations: 12.34 MB / 0.5091 GB, free: 74.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.5845, allocations: 1.977 MB / 0.511 GB, free: 72.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002444/0.5869, allocations: 0.7092 MB / 0.5117 GB, free: 72.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.5886, allocations: 0.7901 MB / 0.5125 GB, free: 71.43 MB / 426.7 MB Notification: Performance of SimCode: time 3.657e-06/0.5886, allocations: 0 / 0.5125 GB, free: 71.43 MB / 426.7 MB Notification: Performance of Templates: time 0.07721/0.6658, allocations: 63.49 MB / 0.5745 GB, free: 7.945 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1316190380603075]