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.0009551/0.0009551, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005326/0.005326, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.9035/0.9035, allocations: 177.1 MB / 205 MB, free: 5.73 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.2904/0.2904, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.433e-06/1.433e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.612e-05, allocations: 4.25 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1814/0.1814, allocations: 13.92 MB / 457.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008137/0.1896, allocations: 5.226 MB / 462.6 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.1914, allocations: 129.6 kB / 462.7 MB, free: 32.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.1953, allocations: 5.239 MB / 467.9 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.1988, allocations: 2.76 MB / 470.7 MB, free: 29.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2005, allocations: 1.548 MB / 472.2 MB, free: 28.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005714/0.2062, allocations: 9.348 MB / 481.6 MB, free: 25.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.2105, allocations: 5.97 MB / 487.6 MB, free: 22.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.2147, allocations: 4.247 MB / 491.8 MB, free: 20.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.2189, allocations: 4.124 MB / 495.9 MB, free: 19.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007737/0.2196, allocations: 0.6508 MB / 496.6 MB, free: 19.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.222, allocations: 1.743 MB / 498.3 MB, free: 19.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002498/0.2245, allocations: 3.585 MB / 0.4902 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.2264, allocations: 2.258 MB / 0.4924 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008473/0.2349, allocations: 12.22 MB / 0.5043 GB, free: 7.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2349, allocations: 0 / 0.5043 GB, free: 7.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2349, allocations: 0 / 0.5043 GB, free: 7.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002005/0.2351, allocations: 0 / 0.5043 GB, free: 7.59 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.01044/0.2456, allocations: 8.108 MB / 0.5122 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2456, allocations: 8.031 kB / 0.5122 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.2528, allocations: 3.222 MB / 0.5154 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006388/0.2592, allocations: 4.947 MB / 0.5202 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2594, allocations: 390.1 kB / 0.5206 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006222/0.26, allocations: 0.5081 MB / 0.5211 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.2778, allocations: 15.66 MB / 0.5364 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.2779, allocations: 71.45 kB / 0.5364 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000445/0.2783, allocations: 235.8 kB / 0.5367 GB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.281, allocations: 2.54 MB / 0.5391 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.2987, allocations: 13.11 MB / 0.5519 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/0.3477, allocations: 53.12 MB / 0.6038 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.358, allocations: 5.905 MB / 0.6096 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/0.3609, allocations: 3.236 MB / 0.6127 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3718, allocations: 9.615 MB / 0.6221 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3718, allocations: 76.33 kB / 0.6222 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=248): time 4.117e-06/0.3718, allocations: 0 / 0.6222 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=343): time 0.2743/0.6462, allocations: 40.44 MB / 0.6617 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.6462, allocations: 242.6 kB / 0.6619 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005865/0.6521, allocations: 5.701 MB / 0.6675 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003542/0.6524, allocations: 85.12 kB / 0.6676 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.6541, allocations: 4.492 MB / 0.672 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007904/0.6549, allocations: 1.304 MB / 0.6732 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/0.6568, allocations: 1.73 MB / 0.6749 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.6568, allocations: 302.4 kB / 0.6752 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.6609, allocations: 4.083 MB / 0.6792 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006005/0.667, allocations: 8.732 MB / 0.6877 GB, free: 124 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009374/0.6763, allocations: 13.55 MB / 0.7009 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-05/0.6764, allocations: 54.38 kB / 0.701 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.0188/0.6952, allocations: 16.29 MB / 0.7169 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.6953, allocations: 72 kB / 0.717 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.6954, allocations: 160 kB / 0.7171 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0065/0.7019, allocations: 4.274 MB / 0.7213 GB, free: 99.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.7051, allocations: 1.9 MB / 0.7232 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.7213, allocations: 21.25 MB / 0.7439 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/0.7269, allocations: 0.593 MB / 0.7445 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/0.7275, allocations: 487.3 kB / 0.745 GB, free: 75.57 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.003857/0.7313, allocations: 3.119 MB / 0.748 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/0.7321, allocations: 0.5045 MB / 0.7485 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.7427, allocations: 10.02 MB / 0.7583 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.7427, allocations: 36 kB / 0.7583 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7427, allocations: 12 kB / 0.7583 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.7428, allocations: 15.95 kB / 0.7583 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/0.7639, allocations: 18.01 MB / 0.7759 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.7639, allocations: 8 kB / 0.7759 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.7652, allocations: 0.4953 MB / 0.7764 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.7713, allocations: 3.846 MB / 0.7802 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/0.7715, allocations: 61.41 kB / 0.7802 GB, free: 39.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.7863, allocations: 18.82 MB / 0.7986 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.7863, allocations: 8 kB / 0.7986 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.8009, allocations: 14.82 MB / 0.8131 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.8025, allocations: 0.5473 MB / 0.8136 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/0.803, allocations: 63.47 kB / 0.8137 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.8046, allocations: 311.4 kB / 0.814 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/0.8051, allocations: 246.1 kB / 0.8142 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.8052, allocations: 91.67 kB / 0.8143 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003273/0.8085, allocations: 3.427 MB / 0.8177 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8085, allocations: 0 / 0.8177 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007526/0.816, allocations: 1.965 MB / 0.8196 GB, free: 14.69 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.0008851/0.8169, allocations: 274.2 kB / 0.8198 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01198/0.8289, allocations: 9.348 MB / 0.829 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.8289, allocations: 0 / 0.829 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003934/0.8329, allocations: 3.445 MB / 0.8323 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.8364, allocations: 0.6492 MB / 0.833 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2053/1.042, allocations: 16.72 MB / 0.8493 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005774/1.047, allocations: 4.3 MB / 0.8535 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.049, allocations: 400.4 kB / 0.8539 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.472e-06/1.049, allocations: 0 / 0.8539 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.1262/1.175, allocations: 125.4 MB / 0.9763 GB, free: 74.66 MB / 0.5573 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 12.322680616751313]