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.001949/0.001949, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002403/0.002403, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 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 0.002425/0.002425, allocations: 79.88 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3852, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01688/0.4021, allocations: 13.03 MB / 0.5739 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4142, allocations: 4.623 MB / 0.5784 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.418, allocations: 107.5 kB / 0.5785 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006963/0.425, allocations: 3.087 MB / 0.5815 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00752/0.4325, allocations: 2.618 MB / 0.5841 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.4355, allocations: 0.9827 MB / 0.585 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.4475, allocations: 7.048 MB / 0.5919 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006011/0.4535, allocations: 3.586 MB / 0.5954 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.4581, allocations: 2.258 MB / 0.5976 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005769/0.4638, allocations: 3.368 MB / 0.6009 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.4653, allocations: 487.9 kB / 0.6014 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.4684, allocations: 1.377 MB / 0.6027 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003265/0.4717, allocations: 2.921 MB / 0.6056 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004156/0.4759, allocations: 2.388 MB / 0.6079 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.4904, allocations: 10.46 MB / 0.6181 GB, free: 9.379 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4904, allocations: 0 / 0.6181 GB, free: 9.379 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4904, allocations: 0 / 0.6181 GB, free: 9.379 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004077/0.4908, allocations: 4 kB / 0.6181 GB, free: 9.375 MB / 462.1 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.01922/0.51, allocations: 7.377 MB / 0.6253 GB, free: 1.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.5101, allocations: 16.02 kB / 0.6254 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/0.5303, allocations: 3.963 MB / 0.6292 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/0.5469, allocations: 4.079 MB / 0.6332 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/0.5474, allocations: 320.3 kB / 0.6335 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003018/0.5504, allocations: 435.6 kB / 0.6339 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05095/0.6014, allocations: 15.81 MB / 0.6494 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003697/0.6017, allocations: 75.44 kB / 0.6494 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/0.6046, allocations: 203.8 kB / 0.6496 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01043/0.615, allocations: 3.216 MB / 0.6528 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05413/0.6692, allocations: 14.13 MB / 0.6666 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/0.7965, allocations: 53.37 MB / 0.7187 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.8119, allocations: 5.367 MB / 0.7239 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/0.8177, allocations: 3.394 MB / 0.7272 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3553/1.173, allocations: 12.05 MB / 0.739 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.173, allocations: 62.17 kB / 0.7391 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 5.861e-06/1.173, allocations: 0 / 0.7391 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.138/1.311, allocations: 42.69 MB / 0.7808 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.311, allocations: 210 kB / 0.781 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/1.317, allocations: 5.199 MB / 0.786 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008768/1.318, allocations: 81.62 kB / 0.7861 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.32, allocations: 4.545 MB / 0.7906 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.322, allocations: 1.328 MB / 0.7919 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002381/1.324, allocations: 1.861 MB / 0.7937 GB, free: 108 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.324, allocations: 301.1 kB / 0.794 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/1.33, allocations: 4.824 MB / 0.7987 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/1.337, allocations: 9.869 MB / 0.8083 GB, free: 90.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.354, allocations: 15.6 MB / 0.8235 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002652/1.354, allocations: 52 kB / 0.8236 GB, free: 72.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04541/1.4, allocations: 19.54 MB / 0.8427 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/1.4, allocations: 80.25 kB / 0.8428 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003204/1.4, allocations: 176 kB / 0.8429 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.423, allocations: 5.94 MB / 0.8487 GB, free: 46.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008217/1.431, allocations: 2.113 MB / 0.8508 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03109/1.463, allocations: 25.69 MB / 0.8759 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/1.472, allocations: 0.5654 MB / 0.8764 GB, free: 18.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002493/1.474, allocations: 0.5117 MB / 0.8769 GB, free: 17.55 MB / 0.5606 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.009631/1.484, allocations: 3.087 MB / 0.8799 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/1.486, allocations: 484.8 kB / 0.8804 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02991/1.516, allocations: 12.94 MB / 0.893 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.254e-05/1.516, allocations: 59.98 kB / 0.8931 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.516, allocations: 8 kB / 0.8931 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/1.516, allocations: 15.94 kB / 0.8931 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05875/1.575, allocations: 22.27 MB / 0.9149 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-05/1.575, allocations: 10.53 kB / 0.9149 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003571/1.578, allocations: 0.5817 MB / 0.9154 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02122/1.599, allocations: 4.974 MB / 0.9203 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008354/1.6, allocations: 60 kB / 0.9204 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03107/1.631, allocations: 20.87 MB / 0.9407 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/1.631, allocations: 11.88 kB / 0.9408 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04156/1.673, allocations: 17.52 MB / 0.9579 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.675, allocations: 436.6 kB / 0.9583 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/1.677, allocations: 59.98 kB / 0.9583 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.68, allocations: 259.7 kB / 0.9586 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009221/1.681, allocations: 216.8 kB / 0.9588 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/1.682, allocations: 80 kB / 0.9589 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005389/1.687, allocations: 3.001 MB / 0.9618 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.687, allocations: 0 / 0.9618 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008738/1.696, allocations: 1.73 MB / 0.9635 GB, free: 8.031 MB / 0.6387 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.0009071/1.697, allocations: 198.2 kB / 0.9637 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3192/2.016, allocations: 10.54 MB / 0.974 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/2.016, allocations: 3.594 kB / 0.974 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007615/2.024, allocations: 3.814 MB / 0.9777 GB, free: 233.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/2.027, allocations: 0.5205 MB / 0.9782 GB, free: 233.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/2.052, allocations: 16.36 MB / 0.9942 GB, free: 227.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/2.058, allocations: 4.121 MB / 0.9982 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006541/2.064, allocations: 2.924 MB / 1.001 GB, free: 224.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/2.066, allocations: 330.9 kB / 1.001 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.334e-06/2.066, allocations: 0 / 1.001 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1057/2.172, allocations: 78.86 MB / 1.078 GB, free: 147.4 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.065574932843447]