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.001142/0.001142, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00132/0.00132, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.859/0.859, allocations: 158.6 MB / 186 MB, free: 2.77 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.1594/0.1594, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.452e-06/1.452e-06, allocations: 0 / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.518e-05, allocations: 2.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1581/0.1582, allocations: 15.12 MB / 314.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.1706, allocations: 5.543 MB / 319.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.1745, allocations: 132.3 kB / 319.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006597/0.181, allocations: 5.518 MB / 325.4 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.1877, allocations: 2.85 MB / 328.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.1909, allocations: 1.575 MB / 329.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2019, allocations: 8.57 MB / 338.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009177/0.2111, allocations: 6.317 MB / 344.7 MB, free: 444 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009179/0.2202, allocations: 5.24 MB / 349.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005724/0.226, allocations: 4.065 MB / 354 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.2279, allocations: 0.6484 MB / 354.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.232, allocations: 1.736 MB / 356.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005632/0.2377, allocations: 3.636 MB / 360 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007586/0.2452, allocations: 2.291 MB / 362.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.2581, allocations: 7.623 MB / 369.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.2582, allocations: 0 / 369.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2582, allocations: 3.938 kB / 369.9 MB, free: 7.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004181/0.2586, allocations: 0 / 369.9 MB, free: 7.129 MB / 330.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.01297/0.2716, allocations: 7.347 MB / 377.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2716, allocations: 8.031 kB / 377.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.2772, allocations: 1.608 MB / 378.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007493/0.2847, allocations: 3.522 MB / 382.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.2851, allocations: 382.2 kB / 382.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.2874, allocations: 0.5093 MB / 383.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.3039, allocations: 7.413 MB / 390.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/0.3042, allocations: 63.45 kB / 390.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001288/0.3055, allocations: 239.8 kB / 391 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/0.3083, allocations: 2.315 MB / 393.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.3195, allocations: 3.744 MB / 397.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05486/0.3744, allocations: 43.02 MB / 440.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.3816, allocations: 2.754 MB / 442.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.383, allocations: 0.6425 MB / 443.5 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/0.3955, allocations: 6.683 MB / 450.2 MB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.3956, allocations: 56.56 kB / 450.2 MB, free: 4.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.781e-06/0.3956, allocations: 4 kB / 450.2 MB, free: 4.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.2001/0.5956, allocations: 12.74 MB / 463 MB, free: 121.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.5957, allocations: 243.5 kB / 463.2 MB, free: 121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.6012, allocations: 4.462 MB / 467.7 MB, free: 120.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006592/0.6019, allocations: 74.2 kB / 467.7 MB, free: 120.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.604, allocations: 4.183 MB / 471.9 MB, free: 118.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/0.6053, allocations: 1.2 MB / 473.1 MB, free: 117.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.6071, allocations: 1.599 MB / 474.7 MB, free: 117.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.6071, allocations: 304.5 kB / 475 MB, free: 117.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.609, allocations: 1.136 MB / 476.1 MB, free: 117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/0.6122, allocations: 5.717 MB / 481.9 MB, free: 110.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/0.6179, allocations: 7.528 MB / 489.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/0.6181, allocations: 49.59 kB / 489.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01241/0.6305, allocations: 6.353 MB / 495.8 MB, free: 99.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-05/0.6306, allocations: 75.94 kB / 495.9 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.6307, allocations: 164 kB / 496 MB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/0.6346, allocations: 1.452 MB / 497.5 MB, free: 97.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/0.6388, allocations: 1.821 MB / 499.3 MB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.6447, allocations: 4.666 MB / 0.4921 GB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/0.6501, allocations: 347.7 kB / 0.4925 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/0.6517, allocations: 412.5 kB / 0.4929 GB, free: 90.02 MB / 410.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.003177/0.6549, allocations: 0.7827 MB / 0.4936 GB, free: 89.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.656, allocations: 359.6 kB / 0.494 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.6602, allocations: 2.455 MB / 0.4964 GB, free: 86.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.6603, allocations: 35.94 kB / 0.4964 GB, free: 86.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.6603, allocations: 12 kB / 0.4964 GB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.6603, allocations: 15.27 kB / 0.4964 GB, free: 86.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.6757, allocations: 8.301 MB / 0.5045 GB, free: 77.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.6757, allocations: 16 kB / 0.5046 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.6767, allocations: 431.2 kB / 0.505 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004119/0.6809, allocations: 1.44 MB / 0.5064 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003774/0.6812, allocations: 63.98 kB / 0.5064 GB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.6861, allocations: 3.535 MB / 0.5099 GB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.6862, allocations: 19.94 kB / 0.5099 GB, free: 72.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.692, allocations: 3.854 MB / 0.5137 GB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.6942, allocations: 0.7502 MB / 0.5144 GB, free: 67.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/0.6952, allocations: 64 kB / 0.5145 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6968, allocations: 67.98 kB / 0.5145 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/0.6972, allocations: 238.6 kB / 0.5148 GB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6973, allocations: 79.58 kB / 0.5148 GB, free: 66.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002075/0.6994, allocations: 1.744 MB / 0.5165 GB, free: 65.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6994, allocations: 0 / 0.5165 GB, free: 65.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007166/0.7066, allocations: 1.781 MB / 0.5183 GB, free: 63.25 MB / 410.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.000805/0.7074, allocations: 279.4 kB / 0.5185 GB, free: 62.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00543/0.7128, allocations: 3.832 MB / 0.5223 GB, free: 59.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000286/0.7131, allocations: 123.7 kB / 0.5224 GB, free: 59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.7146, allocations: 1.128 MB / 0.5235 GB, free: 57.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/0.7196, allocations: 0.9993 MB / 0.5245 GB, free: 56.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.7377, allocations: 12.03 MB / 0.5362 GB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/0.7402, allocations: 1.972 MB / 0.5382 GB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002211/0.7424, allocations: 0.718 MB / 0.5389 GB, free: 41.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.7437, allocations: 0.8018 MB / 0.5396 GB, free: 41.08 MB / 410.7 MB Notification: Performance of SimCode: time 2.375e-06/0.7437, allocations: 0 / 0.5396 GB, free: 41.08 MB / 410.7 MB Notification: Performance of Templates: time 0.2241/0.9678, allocations: 63.06 MB / 0.6012 GB, free: 138.6 MB / 442.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.152005051728338]