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.001301/0.001301, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001537/0.001537, allocations: 166.7 kB / 25.61 MB, free: 8.887 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.014/1.014, allocations: 177 MB / 205.9 MB, free: 4.453 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.1478/0.1478, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.493e-06/1.493e-06, allocations: 4 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.842e-05, allocations: 4 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.008611/0.008629, allocations: 14.07 MB / 394.1 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007306/0.01594, allocations: 4.715 MB / 398.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.01775, allocations: 107.5 kB / 398.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.02106, allocations: 3.332 MB / 402.2 MB, free: 452 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.02613, allocations: 2.698 MB / 404.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.02796, allocations: 1.115 MB / 406 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007322/0.03528, allocations: 7.833 MB / 413.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00445/0.03973, allocations: 4.235 MB / 418.1 MB, free: 472 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.04505, allocations: 4.448 MB / 422.5 MB, free: 12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.04873, allocations: 3.577 MB / 426.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008599/0.04959, allocations: 492 kB / 426.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.05164, allocations: 1.471 MB / 428.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.05396, allocations: 3.054 MB / 431.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.05629, allocations: 1.857 MB / 433 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.06486, allocations: 6.862 MB / 439.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.06487, allocations: 0 / 439.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.06487, allocations: 0 / 439.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.0651, allocations: 0 / 439.8 MB, free: 10.65 MB / 362.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.01133/0.07643, allocations: 7.401 MB / 447.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.07647, allocations: 12.03 kB / 447.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009469/0.08594, allocations: 2.782 MB / 450 MB, free: 372 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005143/0.09109, allocations: 3.063 MB / 453.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.09131, allocations: 320.3 kB / 453.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007965/0.09211, allocations: 432.2 kB / 453.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.1045, allocations: 8.069 MB / 461.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.1046, allocations: 59.45 kB / 462 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005327/0.1051, allocations: 207.8 kB / 462.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003292/0.1084, allocations: 2.857 MB / 465 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00993/0.1184, allocations: 3.956 MB / 469 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2077/0.326, allocations: 59.23 MB / 0.5158 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.3313, allocations: 2.553 MB / 0.5183 GB, free: 61.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.3323, allocations: 0.872 MB / 0.5192 GB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00889/0.3412, allocations: 6.994 MB / 0.526 GB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.3413, allocations: 67.67 kB / 0.5261 GB, free: 59.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.099e-06/0.3413, allocations: 0 / 0.5261 GB, free: 59.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02444/0.3657, allocations: 10.94 MB / 0.5368 GB, free: 53.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3658, allocations: 209.9 kB / 0.537 GB, free: 53.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.3695, allocations: 4.803 MB / 0.5417 GB, free: 49.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.3697, allocations: 69.55 kB / 0.5417 GB, free: 49.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.3714, allocations: 4.863 MB / 0.5465 GB, free: 44.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.3722, allocations: 1.225 MB / 0.5477 GB, free: 43.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/0.3737, allocations: 1.957 MB / 0.5496 GB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3737, allocations: 476.8 kB / 0.55 GB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3752, allocations: 1.029 MB / 0.551 GB, free: 39.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.3786, allocations: 8.757 MB / 0.5596 GB, free: 27.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/0.385, allocations: 10.61 MB / 0.57 GB, free: 13.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-05/0.3851, allocations: 52 kB / 0.57 GB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.00946/0.3946, allocations: 7.555 MB / 0.5774 GB, free: 6.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.3946, allocations: 84 kB / 0.5775 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.3948, allocations: 183.9 kB / 0.5776 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.3967, allocations: 0.8333 MB / 0.5784 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.4002, allocations: 1.985 MB / 0.5804 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/0.4046, allocations: 5.57 MB / 0.5858 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.4091, allocations: 371.7 kB / 0.5862 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006885/0.4098, allocations: 456 kB / 0.5866 GB, free: 12.61 MB / 426.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.002282/0.4121, allocations: 0.8556 MB / 0.5875 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/0.4131, allocations: 0.5516 MB / 0.588 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.417, allocations: 2.46 MB / 0.5904 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.417, allocations: 51.98 kB / 0.5904 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.417, allocations: 4 kB / 0.5904 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.4171, allocations: 11.95 kB / 0.5905 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.4286, allocations: 7.171 MB / 0.5975 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4286, allocations: 11.94 kB / 0.5975 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.4298, allocations: 404.2 kB / 0.5979 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.4315, allocations: 0.5808 MB / 0.5984 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.4317, allocations: 52 kB / 0.5985 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.4357, allocations: 4.588 MB / 0.603 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4357, allocations: 11.94 kB / 0.603 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.4412, allocations: 3.726 MB / 0.6066 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4423, allocations: 456.6 kB / 0.607 GB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/0.4427, allocations: 55.91 kB / 0.6071 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4437, allocations: 52 kB / 0.6071 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.444, allocations: 169.8 kB / 0.6073 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.4441, allocations: 60 kB / 0.6074 GB, free: 6.746 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002102/0.4462, allocations: 1.91 MB / 0.6092 GB, free: 4.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4462, allocations: 0 / 0.6092 GB, free: 4.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005616/0.4518, allocations: 1.562 MB / 0.6108 GB, free: 3.281 MB / 442.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.0004585/0.4523, allocations: 222.6 kB / 0.611 GB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005508/0.4578, allocations: 4.342 MB / 0.6152 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.4578, allocations: 0 / 0.6152 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4591, allocations: 1.175 MB / 0.6164 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.4612, allocations: 0.5525 MB / 0.6169 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.4766, allocations: 11.49 MB / 0.6281 GB, free: 1.281 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.4785, allocations: 1.842 MB / 0.6299 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002182/0.4807, allocations: 0.7109 MB / 0.6306 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.4823, allocations: 0.7879 MB / 0.6314 GB, free: 13.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4823, allocations: 0 / 0.6314 GB, free: 13.9 MB / 474.7 MB Notification: Performance of Templates: time 0.2602/0.7425, allocations: 52.35 MB / 0.6825 GB, free: 161.8 MB / 490.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.516316089313477]