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.001212/0.001212, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001238/0.001238, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.023/1.023, allocations: 177 MB / 204.8 MB, free: 5.559 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.286/0.286, allocations: 34.85 MB / 296.3 MB, free: 0.5352 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 1.873e-06/1.873e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.325e-05, allocations: 2.875 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01489/0.01492, allocations: 14.45 MB / 393.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008057/0.02298, allocations: 4.748 MB / 397.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.02435, allocations: 107.5 kB / 398.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.02848, allocations: 3.379 MB / 401.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.03275, allocations: 2.702 MB / 404.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.0344, allocations: 1.123 MB / 405.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007087/0.04149, allocations: 7.806 MB / 413.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004674/0.04616, allocations: 4.239 MB / 417.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.05026, allocations: 4.448 MB / 421.8 MB, free: 6.898 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.05331, allocations: 3.574 MB / 425.3 MB, free: 3.316 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.05379, allocations: 488 kB / 425.8 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.05549, allocations: 1.467 MB / 427.3 MB, free: 1.371 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.05749, allocations: 3.05 MB / 430.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.05885, allocations: 1.846 MB / 432.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.06425, allocations: 6.885 MB / 439 MB, free: 5.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.06426, allocations: 0 / 439 MB, free: 5.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06426, allocations: 0 / 439 MB, free: 5.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.056e-05/0.06432, allocations: 0 / 439 MB, free: 5.551 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.1782/0.2425, allocations: 7.935 MB / 447 MB, free: 92.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2426, allocations: 11.09 kB / 447 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/0.2524, allocations: 4.58 MB / 451.6 MB, free: 92.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005856/0.2583, allocations: 3.502 MB / 455.1 MB, free: 91.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.2585, allocations: 319 kB / 455.4 MB, free: 91.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.2595, allocations: 426.9 kB / 455.8 MB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.2737, allocations: 9.026 MB / 464.8 MB, free: 86.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.2738, allocations: 60.11 kB / 464.9 MB, free: 86.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005658/0.2744, allocations: 206.2 kB / 465.1 MB, free: 86.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.277, allocations: 3.16 MB / 468.3 MB, free: 85.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.2896, allocations: 5.129 MB / 473.4 MB, free: 84.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05531/0.3449, allocations: 60.13 MB / 0.521 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/0.3509, allocations: 2.812 MB / 0.5238 GB, free: 32.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3523, allocations: 1.041 MB / 0.5248 GB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009731/0.3621, allocations: 7.531 MB / 0.5321 GB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.3621, allocations: 63.33 kB / 0.5322 GB, free: 23.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 6.552e-06/0.3621, allocations: 0 / 0.5322 GB, free: 23.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.0382/0.4003, allocations: 16.12 MB / 0.5479 GB, free: 7.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.4004, allocations: 205.9 kB / 0.5481 GB, free: 7.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005352/0.4057, allocations: 4.836 MB / 0.5529 GB, free: 2.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004458/0.4062, allocations: 65.7 kB / 0.5529 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.409, allocations: 4.818 MB / 0.5576 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.4106, allocations: 1.223 MB / 0.5588 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/0.4133, allocations: 1.911 MB / 0.5607 GB, free: 10.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4134, allocations: 484.5 kB / 0.5611 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/0.4162, allocations: 1.154 MB / 0.5623 GB, free: 8.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007173/0.4234, allocations: 8.845 MB / 0.5709 GB, free: 12.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.4342, allocations: 10.95 MB / 0.5816 GB, free: 14.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000218/0.4344, allocations: 48 kB / 0.5816 GB, free: 14.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01761/0.452, allocations: 8.361 MB / 0.5898 GB, free: 5.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.4521, allocations: 84 kB / 0.5899 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/0.4523, allocations: 184 kB / 0.5901 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/0.4554, allocations: 1.025 MB / 0.5911 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006076/0.4615, allocations: 2.117 MB / 0.5931 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.4684, allocations: 5.848 MB / 0.5988 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.4741, allocations: 0.573 MB / 0.5994 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/0.4753, allocations: 0.5152 MB / 0.5999 GB, free: 11.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 (1108): * Single equations (assignments): 1100 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002479/0.4778, allocations: 0.8682 MB / 0.6008 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/0.4789, allocations: 0.5511 MB / 0.6013 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/0.4847, allocations: 2.87 MB / 0.6041 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.165e-05/0.4848, allocations: 51.98 kB / 0.6041 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.4848, allocations: 4 kB / 0.6042 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.4848, allocations: 19.95 kB / 0.6042 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1986/0.6834, allocations: 9.328 MB / 0.6133 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.6834, allocations: 5.812 kB / 0.6133 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.6849, allocations: 0.5254 MB / 0.6138 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.6867, allocations: 0.7692 MB / 0.6145 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.687, allocations: 51.44 kB / 0.6146 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.6905, allocations: 4.83 MB / 0.6193 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6906, allocations: 13.22 kB / 0.6193 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/0.6974, allocations: 4.286 MB / 0.6235 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.6986, allocations: 468.8 kB / 0.624 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/0.6992, allocations: 55.25 kB / 0.624 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.7006, allocations: 234.9 kB / 0.6242 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.701, allocations: 179 kB / 0.6244 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.7011, allocations: 78.88 kB / 0.6245 GB, free: 125.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003314/0.7044, allocations: 2.053 MB / 0.6265 GB, free: 125.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7044, allocations: 0 / 0.6265 GB, free: 125.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006792/0.7112, allocations: 1.57 MB / 0.628 GB, free: 125.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (239): * Single equations (assignments): 231 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000992/0.7122, allocations: 216.4 kB / 0.6282 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009596/0.7218, allocations: 4.719 MB / 0.6328 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.7218, allocations: 2.188 kB / 0.6328 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.7242, allocations: 1.307 MB / 0.6341 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/0.7277, allocations: 0.5284 MB / 0.6346 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.7485, allocations: 11.56 MB / 0.6459 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/0.7521, allocations: 1.834 MB / 0.6477 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005769/0.7578, allocations: 2.391 MB / 0.6501 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.7592, allocations: 333.3 kB / 0.6504 GB, free: 119 MB / 474.7 MB Notification: Performance of SimCode: time 2.524e-06/0.7592, allocations: 0 / 0.6504 GB, free: 119 MB / 474.7 MB Notification: Performance of Templates: time 0.06769/0.8269, allocations: 48.48 MB / 0.6977 GB, free: 83.25 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.000780011061579]