Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001108/0.001108, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002469, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007257/0.0007257, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008413/0.001567, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.107/1.107, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09271/1.2, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2655/0.2655, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03348/0.299, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.333e-05, allocations: 2.312 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01008/0.0101, allocations: 12.77 MB / 306.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008529/0.01863, allocations: 4.933 MB / 311.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.0202, allocations: 115.4 kB / 311.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.02402, allocations: 3.788 MB / 315.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.02811, allocations: 2.278 MB / 317.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.02988, allocations: 1.103 MB / 318.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007668/0.03755, allocations: 7.134 MB / 326 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005283/0.04283, allocations: 3.898 MB / 329.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/0.05006, allocations: 4.013 MB / 333.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.05388, allocations: 2.958 MB / 336.8 MB, free: 10 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008305/0.05471, allocations: 432 kB / 337.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.05673, allocations: 1.439 MB / 338.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.0585, allocations: 2.377 MB / 341.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.06033, allocations: 1.344 MB / 342.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005829/0.06616, allocations: 5.341 MB / 347.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.06618, allocations: 0 / 347.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06618, allocations: 8 kB / 347.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002691/0.06645, allocations: 0 / 347.8 MB, free: 15.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.009938/0.07639, allocations: 6.892 MB / 354.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.07643, allocations: 8.922 kB / 354.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.07978, allocations: 1.292 MB / 356 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.08417, allocations: 2.713 MB / 358.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.08432, allocations: 287.7 kB / 359 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/0.08478, allocations: 380.1 kB / 359.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007409/0.09219, allocations: 5.835 MB / 365.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.09231, allocations: 59.52 kB / 365.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.09261, allocations: 179.8 kB / 365.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.09419, allocations: 1.937 MB / 367.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/0.09957, allocations: 2.935 MB / 370.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/0.1359, allocations: 36.16 MB / 406.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/0.1404, allocations: 2.086 MB / 408.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.141, allocations: 430.4 kB / 408.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006513/0.1475, allocations: 4.481 MB / 413.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1475, allocations: 55.5 kB / 413.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 3.968e-06/0.1475, allocations: 0 / 413.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02595/0.1735, allocations: 9.666 MB / 423.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.1736, allocations: 145.8 kB / 423.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.1772, allocations: 3.848 MB / 427.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.1773, allocations: 57.69 kB / 427.2 MB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.1789, allocations: 3.539 MB / 430.7 MB, free: 9.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.1794, allocations: 0.7636 MB / 431.5 MB, free: 8.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.1805, allocations: 1.326 MB / 432.8 MB, free: 7.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.1806, allocations: 301.1 kB / 433.1 MB, free: 7.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.1819, allocations: 0.8629 MB / 434 MB, free: 6.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2003/0.3821, allocations: 4.962 MB / 438.9 MB, free: 114.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/0.3905, allocations: 6.422 MB / 445.4 MB, free: 109.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.3906, allocations: 42.94 kB / 445.4 MB, free: 109.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.008501/0.3991, allocations: 5.098 MB / 450.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.3992, allocations: 72.59 kB / 450.6 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.3993, allocations: 149.9 kB / 450.7 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.4014, allocations: 1.003 MB / 451.7 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.4041, allocations: 1.715 MB / 453.4 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.4091, allocations: 6.989 MB / 460.4 MB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.412, allocations: 305.1 kB / 460.7 MB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.4124, allocations: 359.9 kB / 461.1 MB, free: 102.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001471/0.4139, allocations: 0.6814 MB / 461.8 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/0.4144, allocations: 265.6 kB / 462 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.4166, allocations: 1.465 MB / 463.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.4166, allocations: 20.56 kB / 463.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.4166, allocations: 6.875 kB / 463.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4166, allocations: 11.3 kB / 463.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/0.4245, allocations: 5.824 MB / 469.3 MB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.4245, allocations: 8 kB / 469.3 MB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.4251, allocations: 297.5 kB / 469.6 MB, free: 98.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.4258, allocations: 392.5 kB / 470 MB, free: 98.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.4276, allocations: 0.9556 MB / 471 MB, free: 98.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.4277, allocations: 40.31 kB / 471 MB, free: 98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/0.4314, allocations: 6.185 MB / 477.2 MB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4314, allocations: 19.92 kB / 477.2 MB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4341, allocations: 2.447 MB / 479.7 MB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/0.4346, allocations: 39.98 kB / 479.7 MB, free: 89.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.4353, allocations: 36 kB / 479.7 MB, free: 89.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.4356, allocations: 144.5 kB / 479.9 MB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.4356, allocations: 47.98 kB / 479.9 MB, free: 88.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001206/0.4368, allocations: 1.458 MB / 481.4 MB, free: 87.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4368, allocations: 0 / 481.4 MB, free: 87.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003774/0.4406, allocations: 1.275 MB / 482.7 MB, free: 86.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00033/0.4409, allocations: 177 kB / 482.8 MB, free: 86.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.4443, allocations: 3.414 MB / 486.3 MB, free: 82.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001739/0.4445, allocations: 126.5 kB / 486.4 MB, free: 82.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.4455, allocations: 1.143 MB / 487.5 MB, free: 81.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.4477, allocations: 1.055 MB / 488.6 MB, free: 80.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.4603, allocations: 9.183 MB / 497.8 MB, free: 71.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4615, allocations: 1.504 MB / 499.3 MB, free: 69.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001388/0.4629, allocations: 0.568 MB / 499.8 MB, free: 69.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/0.4638, allocations: 0.6435 MB / 0.4887 GB, free: 68.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.274e-06/0.4638, allocations: 0 / 0.4887 GB, free: 68.59 MB / 426.7 MB Notification: Performance of Templates: time 0.05717/0.521, allocations: 44.01 MB / 0.5317 GB, free: 25.09 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.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.399607009254396]