Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007852, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003249/0.003249, allocations: 158.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8568/0.8568, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.651e-05, allocations: 6.219 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1973/0.1974, allocations: 13.91 MB / 457.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007336/0.2047, allocations: 5.232 MB / 462.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2062, allocations: 131.7 kB / 462.7 MB, free: 32.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.21, allocations: 5.234 MB / 467.9 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.2132, allocations: 2.763 MB / 470.7 MB, free: 29.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2148, allocations: 1.549 MB / 472.2 MB, free: 28.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.2198, allocations: 9.348 MB / 481.6 MB, free: 24.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004097/0.2239, allocations: 5.969 MB / 487.5 MB, free: 22.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.2279, allocations: 4.247 MB / 491.8 MB, free: 20.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/0.2328, allocations: 4.121 MB / 495.9 MB, free: 19.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.2337, allocations: 0.6531 MB / 496.6 MB, free: 19.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.2364, allocations: 1.736 MB / 498.3 MB, free: 18.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.2393, allocations: 3.584 MB / 0.4901 GB, free: 17.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.242, allocations: 2.261 MB / 0.4923 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.2534, allocations: 12.22 MB / 0.5043 GB, free: 7.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2534, allocations: 0 / 0.5043 GB, free: 7.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2534, allocations: 0 / 0.5043 GB, free: 7.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002454/0.2536, allocations: 0 / 0.5043 GB, free: 7.477 MB / 410.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.01123/0.2649, allocations: 8.116 MB / 0.5122 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.2649, allocations: 8.031 kB / 0.5122 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007471/0.2724, allocations: 3.214 MB / 0.5153 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006544/0.279, allocations: 4.952 MB / 0.5202 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.2791, allocations: 386.1 kB / 0.5205 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/0.2798, allocations: 0.5158 MB / 0.521 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.2976, allocations: 15.66 MB / 0.5363 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.2977, allocations: 71.52 kB / 0.5364 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004204/0.2982, allocations: 231.8 kB / 0.5366 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.3004, allocations: 2.548 MB / 0.5391 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.3169, allocations: 13.1 MB / 0.5519 GB, free: 5.562 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0466/0.3635, allocations: 53.12 MB / 0.6038 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009903/0.3734, allocations: 5.913 MB / 0.6096 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.3763, allocations: 3.236 MB / 0.6127 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.3878, allocations: 9.615 MB / 0.6221 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3879, allocations: 68.55 kB / 0.6222 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=248): time 4.208e-06/0.3879, allocations: 0 / 0.6222 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=343): time 0.2738/0.6617, allocations: 40.44 MB / 0.6617 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6618, allocations: 239.8 kB / 0.6619 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006969/0.6688, allocations: 5.706 MB / 0.6675 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.6691, allocations: 77.05 kB / 0.6675 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.6711, allocations: 4.496 MB / 0.6719 GB, free: 135 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009289/0.6721, allocations: 1.309 MB / 0.6732 GB, free: 134 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.674, allocations: 1.725 MB / 0.6749 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.674, allocations: 303.7 kB / 0.6752 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004328/0.6783, allocations: 4.083 MB / 0.6792 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006067/0.6844, allocations: 8.736 MB / 0.6877 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009825/0.6942, allocations: 13.54 MB / 0.7009 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.316e-05/0.6943, allocations: 50.44 kB / 0.701 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.01841/0.7127, allocations: 16.3 MB / 0.7169 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.7127, allocations: 72 kB / 0.717 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.917e-05/0.7128, allocations: 156 kB / 0.7171 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006661/0.7195, allocations: 4.277 MB / 0.7213 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.7228, allocations: 1.899 MB / 0.7231 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.7392, allocations: 21.25 MB / 0.7439 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005952/0.7452, allocations: 0.593 MB / 0.7445 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008563/0.746, allocations: 479.9 kB / 0.7449 GB, free: 75.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004507/0.7505, allocations: 3.12 MB / 0.748 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/0.7514, allocations: 0.5006 MB / 0.7485 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.7621, allocations: 10.03 MB / 0.7583 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.7621, allocations: 32 kB / 0.7583 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.7621, allocations: 19.98 kB / 0.7583 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.7621, allocations: 11.95 kB / 0.7583 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/0.7827, allocations: 18.01 MB / 0.7759 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7827, allocations: 8 kB / 0.7759 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.7839, allocations: 0.4914 MB / 0.7764 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/0.79, allocations: 3.845 MB / 0.7801 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.7902, allocations: 65.44 kB / 0.7802 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.8051, allocations: 18.82 MB / 0.7986 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8052, allocations: 14.52 kB / 0.7986 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.82, allocations: 14.83 MB / 0.8131 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/0.822, allocations: 0.5434 MB / 0.8136 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/0.8225, allocations: 64.56 kB / 0.8137 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.8241, allocations: 307.5 kB / 0.814 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.8246, allocations: 238.1 kB / 0.8142 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.8247, allocations: 98.3 kB / 0.8143 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003252/0.828, allocations: 3.427 MB / 0.8176 GB, free: 468 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.828, allocations: 0 / 0.8176 GB, free: 468 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005604/0.8336, allocations: 1.961 MB / 0.8196 GB, free: 14.49 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005471/0.8341, allocations: 275.9 kB / 0.8198 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.8446, allocations: 9.344 MB / 0.8289 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.8446, allocations: 4 kB / 0.8289 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.8483, allocations: 3.446 MB / 0.8323 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.8512, allocations: 0.6535 MB / 0.8329 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/1.039, allocations: 16.72 MB / 0.8493 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/1.043, allocations: 4.29 MB / 0.8535 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.044, allocations: 401.3 kB / 0.8539 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.382e-06/1.044, allocations: 0 / 0.8539 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.1077/1.152, allocations: 125.4 MB / 0.9763 GB, free: 74.74 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.268038749694824]