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.001059/0.001059, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.00101/0.00101, allocations: 165 kB / 23.79 MB, free: 0.7812 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.9715/0.9715, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.136/0.136, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.974e-06/1.974e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.85e-05, allocations: 10.19 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01159/0.01162, allocations: 15.5 MB / 363.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.023, allocations: 5.375 MB / 368.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.02594, allocations: 131.3 kB / 368.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.03225, allocations: 5.533 MB / 374.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.03867, allocations: 2.822 MB / 377 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.04168, allocations: 1.571 MB / 378.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009307/0.05099, allocations: 8.589 MB / 387.2 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007696/0.05868, allocations: 6.174 MB / 393.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009235/0.06792, allocations: 5.252 MB / 398.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.07426, allocations: 4.225 MB / 402.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.07588, allocations: 0.6523 MB / 403.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.07914, allocations: 1.752 MB / 405.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003105/0.08224, allocations: 3.636 MB / 408.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003796/0.08604, allocations: 2.287 MB / 411.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.09664, allocations: 7.627 MB / 418.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.09665, allocations: 0 / 418.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.09666, allocations: 0 / 418.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003241/0.09698, allocations: 0 / 418.8 MB, free: 2.043 MB / 346.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.01186/0.1088, allocations: 8.648 MB / 427.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1089, allocations: 16.02 kB / 427.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007912/0.1168, allocations: 3.621 MB / 431.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.1223, allocations: 4.267 MB / 435.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.1226, allocations: 382.2 kB / 435.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006957/0.1233, allocations: 0.5042 MB / 436.2 MB, free: 444 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.221/0.3443, allocations: 9.473 MB / 445.7 MB, free: 78.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/0.3445, allocations: 61.77 kB / 445.8 MB, free: 78.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006658/0.3452, allocations: 230.7 kB / 446 MB, free: 78.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.3474, allocations: 2.504 MB / 448.5 MB, free: 78.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.3612, allocations: 5.202 MB / 453.7 MB, free: 76.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/0.4138, allocations: 59.79 MB / 0.5014 GB, free: 16.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007646/0.4215, allocations: 3.601 MB / 0.5049 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.4232, allocations: 0.952 MB / 0.5059 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.4337, allocations: 7.74 MB / 0.5134 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4337, allocations: 71.33 kB / 0.5135 GB, free: 4.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=229): time 6.172e-06/0.4337, allocations: 0 / 0.5135 GB, free: 4.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=313): time 0.04765/0.4814, allocations: 21.33 MB / 0.5343 GB, free: 15.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4815, allocations: 243.6 kB / 0.5346 GB, free: 14.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/0.4895, allocations: 5 MB / 0.5394 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.4902, allocations: 73.7 kB / 0.5395 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.4936, allocations: 4.787 MB / 0.5442 GB, free: 5.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.4953, allocations: 1.238 MB / 0.5454 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/0.4976, allocations: 1.8 MB / 0.5472 GB, free: 2.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4977, allocations: 476.8 kB / 0.5476 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.5001, allocations: 1.071 MB / 0.5487 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/0.5062, allocations: 8.021 MB / 0.5565 GB, free: 5.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.5165, allocations: 9.964 MB / 0.5662 GB, free: 8.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/0.5167, allocations: 51.94 kB / 0.5663 GB, free: 8.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02572/0.5424, allocations: 8.466 MB / 0.5745 GB, free: 15.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.006222/0.5486, allocations: 72 kB / 0.5746 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/0.5489, allocations: 164 kB / 0.5748 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01885/0.5678, allocations: 1.842 MB / 0.5766 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/0.5852, allocations: 1.887 MB / 0.5784 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.6044, allocations: 6.063 MB / 0.5843 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/0.6125, allocations: 0.5618 MB / 0.5849 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/0.6137, allocations: 482.6 kB / 0.5853 GB, free: 4.715 MB / 442.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.003535/0.6173, allocations: 0.8179 MB / 0.5861 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.6184, allocations: 0.5865 MB / 0.5867 GB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1832/0.8017, allocations: 3.475 MB / 0.5901 GB, free: 134.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/0.8017, allocations: 38.14 kB / 0.5901 GB, free: 134.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/0.8017, allocations: 13.5 kB / 0.5902 GB, free: 134.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.396e-05/0.8018, allocations: 13 kB / 0.5902 GB, free: 134.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.8191, allocations: 10.52 MB / 0.6004 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.8191, allocations: 14.94 kB / 0.6005 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/0.8201, allocations: 495.7 kB / 0.6009 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/0.8238, allocations: 1.61 MB / 0.6025 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.8239, allocations: 65.69 kB / 0.6026 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.8295, allocations: 4.804 MB / 0.6073 GB, free: 131.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.8296, allocations: 22.41 kB / 0.6073 GB, free: 131.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007669/0.8372, allocations: 5.304 MB / 0.6125 GB, free: 129.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/0.8388, allocations: 0.9039 MB / 0.6133 GB, free: 129.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.8393, allocations: 70.62 kB / 0.6134 GB, free: 129.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.8407, allocations: 270.5 kB / 0.6137 GB, free: 129.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/0.841, allocations: 233.1 kB / 0.6139 GB, free: 129.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.8412, allocations: 93.55 kB / 0.614 GB, free: 129.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002851/0.844, allocations: 2.253 MB / 0.6162 GB, free: 128.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.844, allocations: 0 / 0.6162 GB, free: 128.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005286/0.8493, allocations: 1.784 MB / 0.6179 GB, free: 128.5 MB / 442.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.0005347/0.8498, allocations: 292.6 kB / 0.6182 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005336/0.8552, allocations: 4.579 MB / 0.6227 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8552, allocations: 0 / 0.6227 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.8565, allocations: 1.433 MB / 0.6241 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.8586, allocations: 0.6886 MB / 0.6247 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.8734, allocations: 12.32 MB / 0.6368 GB, free: 112.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.8748, allocations: 1.984 MB / 0.6387 GB, free: 110.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003134/0.878, allocations: 2.106 MB / 0.6408 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/0.8786, allocations: 336.4 kB / 0.6411 GB, free: 108 MB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/0.8786, allocations: 4 kB / 0.6411 GB, free: 108 MB / 442.7 MB Notification: Performance of Templates: time 0.06893/0.9476, allocations: 60.48 MB / 0.7002 GB, free: 47.68 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.281057957094163]