Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001266/0.001266, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001206/0.001206, allocations: 167 kB / 25.61 MB, free: 8.602 MB / 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 0.986/0.986, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.142/0.142, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.322e-05, allocations: 6.141 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01366/0.01369, allocations: 15.02 MB / 392.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.02298, allocations: 5.332 MB / 397.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.0255, allocations: 131.3 kB / 397.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.03084, allocations: 5.421 MB / 403.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.03708, allocations: 2.772 MB / 405.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.03982, allocations: 1.571 MB / 407.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.04996, allocations: 9.361 MB / 416.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006826/0.05679, allocations: 6.154 MB / 423 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009451/0.06624, allocations: 5.786 MB / 428.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006284/0.07252, allocations: 4.225 MB / 433 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.07449, allocations: 0.6484 MB / 433.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.07779, allocations: 1.74 MB / 435.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.08115, allocations: 3.6 MB / 439 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003627/0.08478, allocations: 2.259 MB / 441.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00936/0.09414, allocations: 7.565 MB / 448.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.09414, allocations: 0 / 448.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09414, allocations: 0 / 448.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002864/0.09443, allocations: 0 / 448.8 MB, free: 1.711 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01515/0.1096, allocations: 8.113 MB / 457 MB, free: 9.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1096, allocations: 11.98 kB / 457 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007781/0.1174, allocations: 2.705 MB / 459.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.1241, allocations: 3.736 MB / 463.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.1244, allocations: 382.2 kB / 463.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.1258, allocations: 0.508 MB / 464.3 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.1414, allocations: 8.24 MB / 472.5 MB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.1416, allocations: 67.44 kB / 472.6 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/0.1421, allocations: 231.8 kB / 472.8 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.1442, allocations: 2.31 MB / 475.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.1549, allocations: 3.818 MB / 478.9 MB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2222/0.3771, allocations: 58.8 MB / 0.5251 GB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007616/0.3847, allocations: 2.878 MB / 0.528 GB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3862, allocations: 0.7966 MB / 0.5287 GB, free: 63.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009863/0.3961, allocations: 7.113 MB / 0.5357 GB, free: 61.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.3961, allocations: 68.55 kB / 0.5357 GB, free: 61.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.799e-06/0.3961, allocations: 3.594 kB / 0.5358 GB, free: 61.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03723/0.4334, allocations: 14.25 MB / 0.5497 GB, free: 50.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.4334, allocations: 242.6 kB / 0.5499 GB, free: 50.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.4373, allocations: 4.9 MB / 0.5547 GB, free: 45.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.4375, allocations: 73.7 kB / 0.5547 GB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.4393, allocations: 4.817 MB / 0.5595 GB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007645/0.44, allocations: 1.248 MB / 0.5607 GB, free: 39.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.4413, allocations: 1.834 MB / 0.5625 GB, free: 37.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.4413, allocations: 476.8 kB / 0.5629 GB, free: 37.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4427, allocations: 0.9535 MB / 0.5638 GB, free: 36.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.446, allocations: 7.934 MB / 0.5716 GB, free: 25.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.4516, allocations: 9.632 MB / 0.581 GB, free: 13.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.4517, allocations: 47.5 kB / 0.5811 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009723/0.4614, allocations: 7.449 MB / 0.5883 GB, free: 5.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.4615, allocations: 72 kB / 0.5884 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.4616, allocations: 164 kB / 0.5885 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/0.4652, allocations: 1.466 MB / 0.59 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.4682, allocations: 1.829 MB / 0.5918 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/0.4746, allocations: 5.464 MB / 0.5971 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.4794, allocations: 347.7 kB / 0.5974 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008602/0.4802, allocations: 420 kB / 0.5978 GB, free: 11.69 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.002133/0.4824, allocations: 0.8207 MB / 0.5986 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/0.4835, allocations: 0.5865 MB / 0.5992 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.4883, allocations: 2.784 MB / 0.6019 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.4883, allocations: 32 kB / 0.602 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.4883, allocations: 15.75 kB / 0.602 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.4884, allocations: 19.94 kB / 0.602 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.5046, allocations: 9.556 MB / 0.6113 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.5046, allocations: 12 kB / 0.6113 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.5057, allocations: 420 kB / 0.6117 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.5092, allocations: 1.235 MB / 0.6129 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/0.5095, allocations: 64 kB / 0.613 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.5151, allocations: 4.274 MB / 0.6172 GB, free: 7.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.5151, allocations: 19.88 kB / 0.6172 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006977/0.522, allocations: 4.478 MB / 0.6216 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.5234, allocations: 0.5081 MB / 0.6221 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/0.524, allocations: 71.7 kB / 0.6221 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.5252, allocations: 75.95 kB / 0.6222 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.5255, allocations: 237.2 kB / 0.6224 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.5257, allocations: 75.98 kB / 0.6225 GB, free: 1.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002283/0.5279, allocations: 2.042 MB / 0.6245 GB, free: 15.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5279, allocations: 0 / 0.6245 GB, free: 15.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005732/0.5337, allocations: 1.746 MB / 0.6262 GB, free: 13.79 MB / 458.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.0006935/0.5344, allocations: 282.4 kB / 0.6265 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.5406, allocations: 4.235 MB / 0.6306 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.5406, allocations: 4 kB / 0.6306 GB, free: 9.262 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.5422, allocations: 1.308 MB / 0.6319 GB, free: 7.926 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.5456, allocations: 0.6875 MB / 0.6326 GB, free: 7.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.5632, allocations: 12.18 MB / 0.6445 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/0.5659, allocations: 1.983 MB / 0.6464 GB, free: 8.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002298/0.5682, allocations: 0.7131 MB / 0.6471 GB, free: 8.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.5695, allocations: 0.8612 MB / 0.6479 GB, free: 7.168 MB / 474.7 MB Notification: Performance of SimCode: time 2.104e-06/0.5695, allocations: 0 / 0.6479 GB, free: 7.168 MB / 474.7 MB Notification: Performance of Templates: time 0.2165/0.786, allocations: 63.54 MB / 0.71 GB, free: 115.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.497868915088475]