Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001054/0.001054, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001492/0.001492, allocations: 169.9 kB / 24.91 MB, free: 9.195 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 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2847/0.2847, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.346e-05, allocations: 4.562 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01224/0.01226, allocations: 15.11 MB / 340.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.02388, allocations: 5.54 MB / 345.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.02678, allocations: 131.3 kB / 346 MB, free: 2.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005687/0.03247, allocations: 5.4 MB / 351.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.03813, allocations: 2.772 MB / 354.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.04044, allocations: 1.559 MB / 355.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00888/0.04932, allocations: 9.332 MB / 365.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006591/0.05591, allocations: 5.955 MB / 371.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008237/0.06415, allocations: 5.634 MB / 376.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005656/0.0698, allocations: 4.053 MB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.07199, allocations: 0.6484 MB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.07499, allocations: 1.779 MB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00308/0.07807, allocations: 3.604 MB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003336/0.08141, allocations: 2.263 MB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009509/0.09092, allocations: 7.557 MB / 396.6 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.09092, allocations: 4 kB / 396.6 MB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09092, allocations: 4 kB / 396.6 MB, free: 4 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003837/0.09131, allocations: 3.984 kB / 396.6 MB, free: 0 / 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.01103/0.1023, allocations: 7.308 MB / 403.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1024, allocations: 8.031 kB / 403.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.1066, allocations: 1.608 MB / 405.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.112, allocations: 3.463 MB / 409 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1123, allocations: 382.2 kB / 409.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/0.113, allocations: 0.5081 MB / 409.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.1261, allocations: 7.428 MB / 417.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/0.1263, allocations: 67.45 kB / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005961/0.1269, allocations: 239.8 kB / 417.6 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/0.1295, allocations: 2.306 MB / 419.9 MB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.14, allocations: 3.754 MB / 423.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.3839, allocations: 42.99 MB / 466.7 MB, free: 78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007183/0.3911, allocations: 2.736 MB / 469.4 MB, free: 77.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.3922, allocations: 0.6426 MB / 470 MB, free: 77.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.4034, allocations: 6.672 MB / 476.7 MB, free: 76.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.4034, allocations: 57.5 kB / 476.8 MB, free: 76.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 8.345e-06/0.4034, allocations: 0 / 476.8 MB, free: 76.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03496/0.4384, allocations: 12.74 MB / 489.5 MB, free: 68.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.4385, allocations: 235.7 kB / 489.7 MB, free: 68.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/0.4433, allocations: 4.429 MB / 494.2 MB, free: 64.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.4437, allocations: 73.7 kB / 494.2 MB, free: 64.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.4453, allocations: 4.171 MB / 498.4 MB, free: 60.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/0.4463, allocations: 1.201 MB / 499.6 MB, free: 59.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.4476, allocations: 1.597 MB / 0.4895 GB, free: 57.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.4476, allocations: 308.8 kB / 0.4898 GB, free: 57.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.4495, allocations: 1.145 MB / 0.4909 GB, free: 56.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.4525, allocations: 5.713 MB / 0.4965 GB, free: 48.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/0.4585, allocations: 7.522 MB / 0.5038 GB, free: 38.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.77e-05/0.4585, allocations: 48 kB / 0.5038 GB, free: 38.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009627/0.4682, allocations: 6.355 MB / 0.51 GB, free: 32.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.4682, allocations: 79.72 kB / 0.5101 GB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/0.4684, allocations: 160 kB / 0.5103 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.4723, allocations: 1.447 MB / 0.5117 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/0.476, allocations: 1.922 MB / 0.5136 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/0.4821, allocations: 4.678 MB / 0.5181 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/0.4875, allocations: 363.6 kB / 0.5185 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008101/0.4883, allocations: 404 kB / 0.5189 GB, free: 23.19 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.002642/0.491, allocations: 0.7818 MB / 0.5196 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/0.4919, allocations: 355.6 kB / 0.52 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/0.4966, allocations: 2.448 MB / 0.5224 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.4967, allocations: 36 kB / 0.5224 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4967, allocations: 11.98 kB / 0.5224 GB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.4967, allocations: 15.89 kB / 0.5224 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.5105, allocations: 8.264 MB / 0.5305 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.5105, allocations: 12 kB / 0.5305 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.5119, allocations: 468.2 kB / 0.531 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004576/0.5165, allocations: 1.444 MB / 0.5324 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/0.5168, allocations: 63.98 kB / 0.5324 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.5226, allocations: 3.54 MB / 0.5359 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.5226, allocations: 19.94 kB / 0.5359 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006777/0.5294, allocations: 3.866 MB / 0.5397 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.5309, allocations: 495.2 kB / 0.5401 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005837/0.5315, allocations: 67.98 kB / 0.5402 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.5331, allocations: 67.98 kB / 0.5403 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/0.5336, allocations: 236.4 kB / 0.5405 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.5337, allocations: 72 kB / 0.5406 GB, free: 176 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002856/0.5366, allocations: 1.72 MB / 0.5423 GB, free: 14.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5366, allocations: 8.031 kB / 0.5423 GB, free: 14.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006666/0.5433, allocations: 1.746 MB / 0.544 GB, free: 12.71 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.0006216/0.5439, allocations: 259.6 kB / 0.5442 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006346/0.5502, allocations: 3.832 MB / 0.548 GB, free: 8.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002757/0.5505, allocations: 116.2 kB / 0.5481 GB, free: 8.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.5526, allocations: 1.142 MB / 0.5492 GB, free: 7.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/0.5569, allocations: 0.9907 MB / 0.5501 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/0.5776, allocations: 11.98 MB / 0.5618 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/0.5815, allocations: 1.971 MB / 0.5638 GB, free: 8.109 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003402/0.5849, allocations: 0.713 MB / 0.5645 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/0.5867, allocations: 0.7979 MB / 0.5652 GB, free: 6.594 MB / 442.7 MB Notification: Performance of SimCode: time 2.094e-06/0.5868, allocations: 0 / 0.5652 GB, free: 6.594 MB / 442.7 MB Notification: Performance of Templates: time 0.2353/0.8221, allocations: 62.03 MB / 0.6258 GB, free: 149.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.128394844010472]