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.0009246/0.0009246, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001949, allocations: 449.7 kB / 10.37 MB, free: 320 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.0007298/0.0007298, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008729/0.001603, allocations: 463.6 kB / 11.72 MB, free: 2.449 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 0.952/0.952, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1451/1.097, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2641/0.2641, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02714/0.2912, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.343e-06/1.343e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.985e-05, allocations: 2.312 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01044/0.01046, allocations: 14.22 MB / 308.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008867/0.01932, allocations: 4.955 MB / 313 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.02126, allocations: 107.5 kB / 313.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.02467, allocations: 3.235 MB / 316.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.02955, allocations: 2.679 MB / 319.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.0313, allocations: 1.018 MB / 320.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007348/0.03865, allocations: 7.299 MB / 327.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004853/0.0435, allocations: 3.779 MB / 331.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00607/0.04957, allocations: 4.215 MB / 335.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.05424, allocations: 3.39 MB / 338.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.05557, allocations: 492 kB / 339.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.05848, allocations: 1.506 MB / 340.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.06127, allocations: 2.724 MB / 343.5 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.06373, allocations: 1.495 MB / 345 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.07038, allocations: 6.355 MB / 351.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.0704, allocations: 0 / 351.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.0704, allocations: 0 / 351.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000224/0.07063, allocations: 0 / 351.3 MB, free: 11.48 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01108/0.0817, allocations: 7.857 MB / 359.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.08174, allocations: 12.92 kB / 359.2 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.08674, allocations: 1.811 MB / 361 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.09152, allocations: 2.826 MB / 363.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.09173, allocations: 320.4 kB / 364.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.09301, allocations: 428.3 kB / 364.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.1059, allocations: 7.321 MB / 371.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.1061, allocations: 59.45 kB / 371.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/0.1065, allocations: 203.8 kB / 372.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00252/0.109, allocations: 2.884 MB / 375 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009319/0.1184, allocations: 3.924 MB / 378.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04776/0.1661, allocations: 43.34 MB / 422.3 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/0.172, allocations: 2.538 MB / 424.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.1731, allocations: 0.716 MB / 425.5 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.1843, allocations: 6.62 MB / 432.2 MB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.1844, allocations: 60.56 kB / 432.2 MB, free: 7.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 7.284e-06/0.1844, allocations: 0 / 432.2 MB, free: 7.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=303): time 0.2118/0.3962, allocations: 9.72 MB / 441.9 MB, free: 104.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3963, allocations: 155.5 kB / 442.1 MB, free: 104.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.4007, allocations: 4.328 MB / 446.4 MB, free: 103.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003713/0.4011, allocations: 66.3 kB / 446.5 MB, free: 103.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.4025, allocations: 4.338 MB / 450.8 MB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.4032, allocations: 1.17 MB / 452 MB, free: 100.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.4046, allocations: 1.663 MB / 453.7 MB, free: 100.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.4047, allocations: 307.1 kB / 454 MB, free: 99.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.4066, allocations: 1.269 MB / 455.2 MB, free: 99.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/0.4098, allocations: 6.264 MB / 461.5 MB, free: 93.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0062/0.416, allocations: 8.203 MB / 469.7 MB, free: 86.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002704/0.4163, allocations: 52.12 kB / 469.7 MB, free: 86.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01145/0.4277, allocations: 6.443 MB / 476.2 MB, free: 85.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.4278, allocations: 83.5 kB / 476.3 MB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/0.428, allocations: 180.4 kB / 476.4 MB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.43, allocations: 0.8386 MB / 477.3 MB, free: 85.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/0.4345, allocations: 2.216 MB / 479.5 MB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.4386, allocations: 4.367 MB / 483.9 MB, free: 80.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00515/0.4438, allocations: 371.1 kB / 484.2 MB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/0.4448, allocations: 451.7 kB / 484.7 MB, free: 80.01 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.002313/0.4471, allocations: 0.8262 MB / 485.5 MB, free: 79.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007558/0.4479, allocations: 325.1 kB / 485.8 MB, free: 79.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.451, allocations: 2.145 MB / 488 MB, free: 78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/0.451, allocations: 56.23 kB / 488 MB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.451, allocations: 4 kB / 488 MB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.451, allocations: 19.28 kB / 488 MB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.4607, allocations: 6.353 MB / 494.4 MB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.4607, allocations: 8 kB / 494.4 MB, free: 72.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.4624, allocations: 0.7008 MB / 495.1 MB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/0.4633, allocations: 437.6 kB / 495.5 MB, free: 71.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.4647, allocations: 0.57 MB / 496.1 MB, free: 70.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.4649, allocations: 51.11 kB / 496.1 MB, free: 70.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.4675, allocations: 3.441 MB / 499.6 MB, free: 67.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.4675, allocations: 4 kB / 499.6 MB, free: 67.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.4713, allocations: 3.118 MB / 0.4909 GB, free: 63.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/0.472, allocations: 57.23 kB / 0.491 GB, free: 63.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.4731, allocations: 48 kB / 0.491 GB, free: 63.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.4734, allocations: 176.3 kB / 0.4912 GB, free: 63.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.4735, allocations: 56 kB / 0.4912 GB, free: 63.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001683/0.4752, allocations: 1.591 MB / 0.4928 GB, free: 62.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4752, allocations: 0 / 0.4928 GB, free: 62.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005814/0.481, allocations: 1.566 MB / 0.4943 GB, free: 60.51 MB / 426.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.0004901/0.4815, allocations: 195.6 kB / 0.4945 GB, free: 60.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.4863, allocations: 3.91 MB / 0.4983 GB, free: 56.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002529/0.4865, allocations: 154.1 kB / 0.4985 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.4877, allocations: 0.9857 MB / 0.4994 GB, free: 55.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.4909, allocations: 1.194 MB / 0.5006 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.5098, allocations: 11.6 MB / 0.5119 GB, free: 42.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.5116, allocations: 1.82 MB / 0.5137 GB, free: 40.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002275/0.5139, allocations: 0.7125 MB / 0.5144 GB, free: 39.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.5151, allocations: 0.7471 MB / 0.5151 GB, free: 39.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.755e-06/0.5151, allocations: 0 / 0.5151 GB, free: 39.18 MB / 426.7 MB Notification: Performance of Templates: time 0.06887/0.584, allocations: 51.89 MB / 0.5658 GB, free: 3.773 MB / 442.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 -ignoreHideResult -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.441799086518586]