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.001162/0.001162, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00138/0.00138, allocations: 163.8 kB / 24.91 MB, free: 8.262 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 0.9857/0.9857, allocations: 177 MB / 205.2 MB, free: 5.457 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.2775/0.2775, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.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 1.913e-06/1.913e-06, allocations: 0 / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.93e-05, allocations: 8 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01533/0.01536, allocations: 12.67 MB / 338.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.02903, allocations: 4.898 MB / 343.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.03224, allocations: 115.4 kB / 343.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.03756, allocations: 3.928 MB / 347.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.04334, allocations: 2.282 MB / 349.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.04589, allocations: 1.197 MB / 351 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008213/0.05411, allocations: 7.697 MB / 358.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004653/0.05876, allocations: 4.205 MB / 362.9 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.06584, allocations: 4.102 MB / 367 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005359/0.0712, allocations: 2.985 MB / 370 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.07287, allocations: 436 kB / 370.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.07584, allocations: 1.436 MB / 371.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.07864, allocations: 2.661 MB / 374.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.08169, allocations: 1.647 MB / 376.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006844/0.08854, allocations: 5.754 MB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.08854, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.08854, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002034/0.08875, allocations: 0 / 382 MB, free: 14.87 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007975/0.09672, allocations: 5.778 MB / 387.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.09676, allocations: 12.03 kB / 387.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.1004, allocations: 1.288 MB / 389 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.1042, allocations: 2.72 MB / 391.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.1044, allocations: 279.7 kB / 392 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000505/0.1049, allocations: 396 kB / 392.4 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007818/0.1127, allocations: 5.831 MB / 398.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.1128, allocations: 59.5 kB / 398.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.1132, allocations: 179.8 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.1148, allocations: 1.925 MB / 400.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/0.1211, allocations: 2.943 MB / 403.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0339/0.155, allocations: 36.15 MB / 439.5 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/0.16, allocations: 2.123 MB / 441.6 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/0.1607, allocations: 441.2 kB / 442.1 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1806/0.3413, allocations: 4.489 MB / 446.5 MB, free: 110.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.3413, allocations: 53.45 kB / 446.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 5.16e-06/0.3413, allocations: 1.25 kB / 446.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02552/0.3668, allocations: 9.896 MB / 456.5 MB, free: 109.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3669, allocations: 204.8 kB / 456.7 MB, free: 109.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.37, allocations: 3.84 MB / 460.5 MB, free: 107.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.3702, allocations: 54.33 kB / 460.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.3713, allocations: 3.543 MB / 464.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.3718, allocations: 0.7769 MB / 464.9 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009322/0.3727, allocations: 1.308 MB / 466.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.3728, allocations: 309.1 kB / 466.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.374, allocations: 0.859 MB / 467.4 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.3763, allocations: 4.975 MB / 472.3 MB, free: 94.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/0.3802, allocations: 6.418 MB / 478.8 MB, free: 86.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.268e-05/0.3803, allocations: 40 kB / 478.8 MB, free: 86.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.007469/0.3878, allocations: 5.095 MB / 483.9 MB, free: 81.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.3878, allocations: 68 kB / 484 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.891e-05/0.3879, allocations: 152 kB / 484.1 MB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.3899, allocations: 1.005 MB / 485.1 MB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.3925, allocations: 1.618 MB / 486.7 MB, free: 78.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.3975, allocations: 6.984 MB / 493.7 MB, free: 71.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.4012, allocations: 311.7 kB / 494 MB, free: 70.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.4017, allocations: 356 kB / 494.4 MB, free: 70.41 MB / 410.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.00149/0.4032, allocations: 0.6828 MB / 495.1 MB, free: 69.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/0.4038, allocations: 267.6 kB / 495.3 MB, free: 69.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.4058, allocations: 1.471 MB / 496.8 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.4058, allocations: 20 kB / 496.8 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4058, allocations: 8 kB / 496.8 MB, free: 67.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4058, allocations: 7.969 kB / 496.8 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/0.4145, allocations: 5.811 MB / 0.4909 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.4145, allocations: 8 kB / 0.4909 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.4152, allocations: 275.6 kB / 0.4911 GB, free: 61.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/0.4171, allocations: 0.9597 MB / 0.4921 GB, free: 60.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.4172, allocations: 39.98 kB / 0.4921 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.421, allocations: 6.19 MB / 0.4981 GB, free: 54.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.421, allocations: 11.94 kB / 0.4982 GB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.4242, allocations: 2.442 MB / 0.5005 GB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.425, allocations: 405 kB / 0.5009 GB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.4253, allocations: 39.94 kB / 0.501 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/0.426, allocations: 39.98 kB / 0.501 GB, free: 51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.4263, allocations: 140.6 kB / 0.5011 GB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.4263, allocations: 51.98 kB / 0.5012 GB, free: 50.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001407/0.4277, allocations: 1.453 MB / 0.5026 GB, free: 49.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4277, allocations: 2.953 kB / 0.5026 GB, free: 49.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004891/0.4326, allocations: 1.277 MB / 0.5039 GB, free: 48.07 MB / 410.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.0004292/0.4331, allocations: 172 kB / 0.504 GB, free: 47.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004074/0.4371, allocations: 3.409 MB / 0.5073 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001885/0.4373, allocations: 108.2 kB / 0.5075 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4386, allocations: 1.146 MB / 0.5086 GB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.4414, allocations: 0.765 MB / 0.5093 GB, free: 42.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4519, allocations: 8.983 MB / 0.5181 GB, free: 33.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.4531, allocations: 1.492 MB / 0.5195 GB, free: 31.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00142/0.4546, allocations: 0.568 MB / 0.5201 GB, free: 31.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/0.4554, allocations: 0.6416 MB / 0.5207 GB, free: 30.53 MB / 410.7 MB Notification: Performance of SimCode: time 2.545e-06/0.4554, allocations: 0 / 0.5207 GB, free: 30.53 MB / 410.7 MB Notification: Performance of Templates: time 0.05832/0.5137, allocations: 43.11 MB / 0.5628 GB, free: 3.789 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 -s gbode -gbm=radauIIA3 -emit_protected -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.417503894772381]