Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.0007993/0.0007993, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007516/0.0007516, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8624/0.8624, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1323/0.1323, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.193e-05, allocations: 2.281 kB / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01036/0.01039, allocations: 13.14 MB / 421.2 MB, free: 4.539 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.01866, allocations: 4.625 MB / 425.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.02115, allocations: 107.5 kB / 426 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.02527, allocations: 3.25 MB / 429.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.03065, allocations: 2.726 MB / 431.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.03271, allocations: 1.111 MB / 433 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00732/0.04003, allocations: 7.339 MB / 440.4 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004955/0.04499, allocations: 4.124 MB / 444.5 MB, free: 13.13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.05099, allocations: 3.41 MB / 447.9 MB, free: 9.719 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.0554, allocations: 3.609 MB / 451.5 MB, free: 6.102 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.05676, allocations: 500 kB / 452 MB, free: 5.613 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.0591, allocations: 1.482 MB / 453.5 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002681/0.06178, allocations: 3.101 MB / 456.6 MB, free: 1.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.06455, allocations: 1.881 MB / 458.5 MB, free: 15.13 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.07593, allocations: 10.64 MB / 469.1 MB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.07594, allocations: 4 kB / 469.1 MB, free: 4.453 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.07594, allocations: 0 / 469.1 MB, free: 4.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003748/0.07632, allocations: 0 / 469.1 MB, free: 4.453 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1845/0.2609, allocations: 7.465 MB / 476.6 MB, free: 94.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2609, allocations: 9.375 kB / 476.6 MB, free: 94.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008876/0.2698, allocations: 4.079 MB / 480.7 MB, free: 93.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007019/0.2768, allocations: 4.172 MB / 484.9 MB, free: 92.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.277, allocations: 319.1 kB / 485.2 MB, free: 92.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.2787, allocations: 434.4 kB / 485.6 MB, free: 92.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/0.3009, allocations: 15.83 MB / 0.4897 GB, free: 85.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.3012, allocations: 58.92 kB / 0.4897 GB, free: 85.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.3022, allocations: 207 kB / 0.4899 GB, free: 85.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/0.3058, allocations: 3.217 MB / 0.4931 GB, free: 84.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.3293, allocations: 14.15 MB / 0.5069 GB, free: 76.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04859/0.3779, allocations: 53.8 MB / 0.5594 GB, free: 22.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008104/0.386, allocations: 5.568 MB / 0.5649 GB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.3893, allocations: 3.402 MB / 0.5682 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.4036, allocations: 12.39 MB / 0.5803 GB, free: 1.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4036, allocations: 67.66 kB / 0.5803 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 6.202e-06/0.4036, allocations: 0 / 0.5803 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of matching and sorting (n=342): time 0.08769/0.4913, allocations: 43.73 MB / 0.623 GB, free: 5.254 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4914, allocations: 214 kB / 0.6232 GB, free: 5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/0.4975, allocations: 5.477 MB / 0.6286 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008922/0.4984, allocations: 73.69 kB / 0.6287 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.5007, allocations: 4.511 MB / 0.6331 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/0.5022, allocations: 1.302 MB / 0.6343 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/0.5041, allocations: 1.834 MB / 0.6361 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.5042, allocations: 305.1 kB / 0.6364 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/0.5091, allocations: 4.828 MB / 0.6411 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007182/0.5163, allocations: 9.862 MB / 0.6508 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2065/0.7228, allocations: 15.62 MB / 0.666 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/0.7229, allocations: 49.44 kB / 0.6661 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02796/0.7509, allocations: 19.53 MB / 0.6851 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.751, allocations: 83 kB / 0.6852 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/0.7512, allocations: 172.3 kB / 0.6854 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/0.7642, allocations: 5.934 MB / 0.6912 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/0.7695, allocations: 2.118 MB / 0.6932 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.7901, allocations: 25.75 MB / 0.7184 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/0.7954, allocations: 0.6227 MB / 0.719 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/0.7967, allocations: 0.5129 MB / 0.7195 GB, free: 124.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004543/0.8012, allocations: 3.105 MB / 0.7225 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009001/0.8021, allocations: 481.2 kB / 0.723 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.8181, allocations: 12.95 MB / 0.7356 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/0.8181, allocations: 58.83 kB / 0.7357 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.8181, allocations: 12 kB / 0.7357 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/0.8182, allocations: 15.94 kB / 0.7357 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/0.8464, allocations: 22.44 MB / 0.7576 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.8464, allocations: 4 kB / 0.7576 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.8484, allocations: 0.5856 MB / 0.7582 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009741/0.8582, allocations: 4.962 MB / 0.7631 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006729/0.8588, allocations: 56 kB / 0.7631 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.8737, allocations: 20.94 MB / 0.7836 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8737, allocations: 10.38 kB / 0.7836 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/0.8936, allocations: 17.53 MB / 0.8007 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/0.8963, allocations: 1.2 MB / 0.8019 GB, free: 40.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/0.8974, allocations: 55.98 kB / 0.8019 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/0.8997, allocations: 325 kB / 0.8022 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/0.9002, allocations: 205.5 kB / 0.8024 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/0.9004, allocations: 84 kB / 0.8025 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003336/0.9037, allocations: 3.209 MB / 0.8056 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9037, allocations: 0 / 0.8056 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006595/0.9103, allocations: 1.897 MB / 0.8075 GB, free: 34.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006943/0.911, allocations: 231.2 kB / 0.8077 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0114/0.9224, allocations: 10.54 MB / 0.818 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9224, allocations: 4 kB / 0.818 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/0.9261, allocations: 3.815 MB / 0.8217 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.9288, allocations: 0.5269 MB / 0.8222 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.9477, allocations: 16.91 MB / 0.8388 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/0.9522, allocations: 4.106 MB / 0.8428 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/0.954, allocations: 400.4 kB / 0.8431 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/0.954, allocations: 1.312 kB / 0.8431 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.308/1.262, allocations: 152.3 MB / 0.9919 GB, free: 55.41 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.099351541139185]