Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.0009809/0.0009809, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001036/0.001036, allocations: 160.8 kB / 24.99 MB, free: 8.801 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 1.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.598 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.2796/0.2796, allocations: 34.87 MB / 296.6 MB, free: 0.5781 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.603e-05, allocations: 6.312 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01373/0.01376, allocations: 14.39 MB / 393.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.03278, allocations: 4.737 MB / 397.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.03696, allocations: 107.5 kB / 398 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01375/0.05072, allocations: 3.379 MB / 401.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009976/0.06069, allocations: 2.695 MB / 404 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.06778, allocations: 1.115 MB / 405.2 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.08196, allocations: 7.813 MB / 413 MB, free: 92 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004335/0.08629, allocations: 4.251 MB / 417.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004802/0.09109, allocations: 3.383 MB / 420.6 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00527/0.09637, allocations: 3.644 MB / 424.2 MB, free: 4.727 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001632/0.098, allocations: 500 kB / 424.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.1008, allocations: 1.471 MB / 426.2 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003466/0.1042, allocations: 3.066 MB / 429.3 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004105/0.1083, allocations: 1.861 MB / 431.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.1214, allocations: 6.889 MB / 438 MB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.1214, allocations: 4 kB / 438 MB, free: 6.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1214, allocations: 0 / 438 MB, free: 6.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004072/0.1218, allocations: 0 / 438 MB, free: 6.906 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1887/0.3105, allocations: 7.95 MB / 446 MB, free: 98.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3106, allocations: 8.531 kB / 446 MB, free: 98.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.3207, allocations: 4.673 MB / 450.7 MB, free: 98.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/0.3269, allocations: 3.681 MB / 454.3 MB, free: 96.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.3271, allocations: 315.9 kB / 454.6 MB, free: 96.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.3282, allocations: 433.7 kB / 455.1 MB, free: 96.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.3443, allocations: 9.004 MB / 464.1 MB, free: 91.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.3445, allocations: 62.12 kB / 464.1 MB, free: 91.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.3451, allocations: 207 kB / 464.3 MB, free: 91.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.3482, allocations: 3.222 MB / 467.6 MB, free: 90.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.3648, allocations: 5.225 MB / 472.8 MB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.4154, allocations: 60 MB / 0.5203 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.4232, allocations: 3.055 MB / 0.5233 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002466/0.4256, allocations: 1.196 MB / 0.5244 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.013/0.4386, allocations: 8.334 MB / 0.5326 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.4387, allocations: 63.38 kB / 0.5326 GB, free: 25.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 8.636e-06/0.4387, allocations: 0 / 0.5326 GB, free: 25.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.05878/0.4975, allocations: 27.26 MB / 0.5593 GB, free: 14.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.4976, allocations: 214 kB / 0.5595 GB, free: 14.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/0.5035, allocations: 4.72 MB / 0.5641 GB, free: 9.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007889/0.5043, allocations: 73.69 kB / 0.5641 GB, free: 9.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003498/0.5078, allocations: 4.714 MB / 0.5687 GB, free: 4.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/0.5099, allocations: 1.365 MB / 0.5701 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002276/0.5121, allocations: 1.931 MB / 0.572 GB, free: 1.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5122, allocations: 480.7 kB / 0.5724 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/0.5157, allocations: 1.673 MB / 0.5741 GB, free: 14.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/0.523, allocations: 9.092 MB / 0.5829 GB, free: 2.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.5357, allocations: 11.73 MB / 0.5944 GB, free: 3.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/0.5359, allocations: 51.94 kB / 0.5944 GB, free: 3.402 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02615/0.562, allocations: 12.34 MB / 0.6065 GB, free: 7.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.5621, allocations: 76 kB / 0.6066 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/0.5623, allocations: 180.1 kB / 0.6067 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/0.5764, allocations: 4.855 MB / 0.6115 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1924/0.7688, allocations: 2.122 MB / 0.6136 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.7819, allocations: 9.355 MB / 0.6227 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.7871, allocations: 0.6149 MB / 0.6233 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/0.788, allocations: 0.5074 MB / 0.6238 GB, free: 129.9 MB / 474.7 MB 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.002166/0.7901, allocations: 0.8672 MB / 0.6246 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/0.791, allocations: 0.5578 MB / 0.6252 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.806, allocations: 7.279 MB / 0.6323 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.8061, allocations: 58.84 kB / 0.6323 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.8061, allocations: 11.12 kB / 0.6323 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/0.8061, allocations: 16.5 kB / 0.6324 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/0.8372, allocations: 15.81 MB / 0.6478 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.8372, allocations: 5.25 kB / 0.6478 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.8393, allocations: 0.5827 MB / 0.6484 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/0.8514, allocations: 4.261 MB / 0.6525 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006681/0.852, allocations: 64.59 kB / 0.6526 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.8627, allocations: 8.169 MB / 0.6606 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.8627, allocations: 5.469 kB / 0.6606 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/0.8796, allocations: 8.404 MB / 0.6688 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.8809, allocations: 465.2 kB / 0.6692 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.8819, allocations: 56.39 kB / 0.6693 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.884, allocations: 307.7 kB / 0.6696 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/0.8846, allocations: 207.7 kB / 0.6698 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.8848, allocations: 89.67 kB / 0.6699 GB, free: 114.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002822/0.8877, allocations: 2.005 MB / 0.6718 GB, free: 113.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8877, allocations: 0 / 0.6718 GB, free: 113.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007234/0.8949, allocations: 1.866 MB / 0.6736 GB, free: 113.4 MB / 474.7 MB 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.0009451/0.8958, allocations: 227.5 kB / 0.6739 GB, free: 113.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008869/0.9047, allocations: 5.917 MB / 0.6796 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9047, allocations: 0 / 0.6796 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.9074, allocations: 1.964 MB / 0.6816 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.9101, allocations: 0.5371 MB / 0.6821 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.9288, allocations: 12.53 MB / 0.6943 GB, free: 92.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.9316, allocations: 1.883 MB / 0.6962 GB, free: 90.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004438/0.9361, allocations: 2.381 MB / 0.6985 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.9374, allocations: 328.4 kB / 0.6988 GB, free: 88.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.655e-06/0.9374, allocations: 4 kB / 0.6988 GB, free: 88.09 MB / 474.7 MB Notification: Performance of Templates: time 0.08519/1.023, allocations: 75.19 MB / 0.7722 GB, free: 13.29 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.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.580521787982434]