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.0009867/0.0009867, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001025/0.001025, allocations: 164.9 kB / 24.82 MB, free: 9.277 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.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.48 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.2886/0.2886, allocations: 34.85 MB / 296.6 MB, free: 0.5 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.813e-06/1.813e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.842e-05, allocations: 3.156 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01474/0.01477, allocations: 14.07 MB / 393.3 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.02463, allocations: 4.713 MB / 398 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.02735, allocations: 107.5 kB / 398.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.03157, allocations: 3.344 MB / 401.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.03685, allocations: 2.695 MB / 404.1 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.0386, allocations: 1.115 MB / 405.3 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008132/0.04673, allocations: 7.827 MB / 413.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005921/0.05265, allocations: 4.235 MB / 417.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.06407, allocations: 4.452 MB / 421.8 MB, free: 7.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/0.07074, allocations: 3.57 MB / 425.3 MB, free: 3.512 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.07296, allocations: 495.9 kB / 425.8 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.07722, allocations: 1.467 MB / 427.3 MB, free: 1.559 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003544/0.08077, allocations: 3.05 MB / 430.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003145/0.08391, allocations: 1.853 MB / 432.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008415/0.09233, allocations: 6.866 MB / 439.1 MB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.09233, allocations: 0 / 439.1 MB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09234, allocations: 0 / 439.1 MB, free: 5.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000281/0.09262, allocations: 0 / 439.1 MB, free: 5.75 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.1742/0.2668, allocations: 7.403 MB / 446.5 MB, free: 92.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2668, allocations: 11.38 kB / 446.5 MB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006773/0.2736, allocations: 2.788 MB / 449.3 MB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.2784, allocations: 3.058 MB / 452.3 MB, free: 91.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.2786, allocations: 315.1 kB / 452.6 MB, free: 91.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007346/0.2793, allocations: 433.3 kB / 453 MB, free: 91.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.2914, allocations: 8.084 MB / 461.1 MB, free: 87.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/0.2916, allocations: 56.3 kB / 461.2 MB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.2921, allocations: 210.2 kB / 461.4 MB, free: 87.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002407/0.2945, allocations: 2.857 MB / 464.2 MB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009858/0.3044, allocations: 3.958 MB / 468.2 MB, free: 86.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.3545, allocations: 59.23 MB / 0.5151 GB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.3605, allocations: 2.565 MB / 0.5176 GB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3617, allocations: 0.8638 MB / 0.5184 GB, free: 36.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008977/0.3707, allocations: 7.016 MB / 0.5253 GB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.3708, allocations: 59.39 kB / 0.5253 GB, free: 29.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.7e-06/0.3708, allocations: 0 / 0.5253 GB, free: 29.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02873/0.3995, allocations: 10.94 MB / 0.536 GB, free: 20.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.3996, allocations: 213.9 kB / 0.5362 GB, free: 19.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.4043, allocations: 4.813 MB / 0.5409 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/0.4048, allocations: 65.7 kB / 0.541 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.4068, allocations: 4.855 MB / 0.5457 GB, free: 10.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.4079, allocations: 1.237 MB / 0.5469 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/0.4098, allocations: 1.942 MB / 0.5488 GB, free: 6.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.4099, allocations: 480.7 kB / 0.5493 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.4116, allocations: 1.032 MB / 0.5503 GB, free: 5.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/0.417, allocations: 8.766 MB / 0.5589 GB, free: 9.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.4279, allocations: 10.59 MB / 0.5692 GB, free: 11.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002301/0.4281, allocations: 52 kB / 0.5692 GB, free: 11.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.0155/0.4436, allocations: 7.567 MB / 0.5766 GB, free: 3.406 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4437, allocations: 87.92 kB / 0.5767 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/0.4439, allocations: 180 kB / 0.5769 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.4467, allocations: 0.8369 MB / 0.5777 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/0.4507, allocations: 1.981 MB / 0.5796 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.4556, allocations: 5.563 MB / 0.5851 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/0.4604, allocations: 371.7 kB / 0.5854 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/0.4614, allocations: 448 kB / 0.5859 GB, free: 9.73 MB / 458.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.002343/0.4637, allocations: 0.8758 MB / 0.5867 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.4648, allocations: 0.5399 MB / 0.5872 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/0.4685, allocations: 2.453 MB / 0.5896 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.4685, allocations: 55.97 kB / 0.5897 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4685, allocations: 7.938 kB / 0.5897 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.4685, allocations: 11.95 kB / 0.5897 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.4815, allocations: 7.171 MB / 0.5967 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.4815, allocations: 4 kB / 0.5967 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.4827, allocations: 408.2 kB / 0.5971 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.4843, allocations: 0.5714 MB / 0.5977 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.4845, allocations: 55.98 kB / 0.5977 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.4882, allocations: 4.598 MB / 0.6022 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4882, allocations: 11.94 kB / 0.6022 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00594/0.4941, allocations: 3.733 MB / 0.6059 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.4956, allocations: 452.6 kB / 0.6063 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/0.496, allocations: 52 kB / 0.6063 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.497, allocations: 51.98 kB / 0.6064 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.4973, allocations: 177.5 kB / 0.6066 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.4974, allocations: 63.98 kB / 0.6066 GB, free: 3.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002088/0.4995, allocations: 1.906 MB / 0.6085 GB, free: 1.926 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4995, allocations: 0 / 0.6085 GB, free: 1.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005053/0.5046, allocations: 1.562 MB / 0.61 GB, free: 372 kB / 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.0004476/0.505, allocations: 210.7 kB / 0.6102 GB, free: 152 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1603/0.6653, allocations: 4.348 MB / 0.6145 GB, free: 136.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.6653, allocations: 0 / 0.6145 GB, free: 136.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.667, allocations: 1.176 MB / 0.6156 GB, free: 136 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.67, allocations: 0.541 MB / 0.6161 GB, free: 136 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.687, allocations: 11.49 MB / 0.6274 GB, free: 131.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.69, allocations: 1.837 MB / 0.6292 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002713/0.6927, allocations: 0.7098 MB / 0.6298 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.694, allocations: 0.7852 MB / 0.6306 GB, free: 131.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.034e-06/0.694, allocations: 4.812 kB / 0.6306 GB, free: 131.1 MB / 474.7 MB Notification: Performance of Templates: time 0.08052/0.7745, allocations: 51.16 MB / 0.6806 GB, free: 103.5 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: 4.822641983162612]