Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001444/0.001444, allocations: 92.27 kB / 20.96 MB, free: 3.449 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.001645/0.001645, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 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.502/1.502, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3841/0.3841, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.556e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01519/0.01522, allocations: 10.51 MB / 387.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.02657, allocations: 4.127 MB / 391.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.0285, allocations: 91.5 kB / 391.9 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006205/0.03471, allocations: 2.834 MB / 394.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.04107, allocations: 2.119 MB / 396.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.04378, allocations: 1.014 MB / 397.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.05382, allocations: 6.399 MB / 404.3 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/0.05961, allocations: 3.439 MB / 407.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.06498, allocations: 2.639 MB / 410.4 MB, free: 1.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/0.07036, allocations: 2.829 MB / 413.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.07175, allocations: 404 kB / 413.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.07519, allocations: 1.361 MB / 415 MB, free: 12.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003125/0.07831, allocations: 2.345 MB / 417.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.0808, allocations: 1.453 MB / 418.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.09228, allocations: 8.108 MB / 426.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.09229, allocations: 0 / 426.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09229, allocations: 0 / 426.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.09256, allocations: 0 / 426.9 MB, free: 1.035 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01771/0.1103, allocations: 5.652 MB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1103, allocations: 8.031 kB / 432.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.1231, allocations: 3.087 MB / 435.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009415/0.1325, allocations: 3.308 MB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.1328, allocations: 238.5 kB / 439.2 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.1343, allocations: 340.3 kB / 439.5 MB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1934/0.3276, allocations: 11.02 MB / 450.5 MB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.3278, allocations: 43.53 kB / 450.5 MB, free: 93.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006066/0.3284, allocations: 162.2 kB / 450.7 MB, free: 93.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002832/0.3313, allocations: 2.003 MB / 452.7 MB, free: 92.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.3495, allocations: 9.511 MB / 462.2 MB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/0.3985, allocations: 38.6 MB / 0.4891 GB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.4096, allocations: 3.733 MB / 0.4927 GB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.4124, allocations: 1.839 MB / 0.4945 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.4235, allocations: 6.174 MB / 0.5006 GB, free: 56.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4236, allocations: 56.47 kB / 0.5006 GB, free: 56.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.638e-06/0.4236, allocations: 0 / 0.5006 GB, free: 56.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.166/0.5895, allocations: 47.91 MB / 0.5474 GB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.5896, allocations: 213.9 kB / 0.5476 GB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/0.5975, allocations: 4.174 MB / 0.5517 GB, free: 6.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007097/0.5983, allocations: 61.7 kB / 0.5517 GB, free: 6.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.6001, allocations: 3.272 MB / 0.5549 GB, free: 2.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.6015, allocations: 0.907 MB / 0.5558 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003094/0.6045, allocations: 1.334 MB / 0.5571 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.6046, allocations: 305.1 kB / 0.5574 GB, free: 424 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006666/0.6113, allocations: 3.8 MB / 0.5611 GB, free: 12.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/0.6225, allocations: 7.478 MB / 0.5684 GB, free: 3.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/0.6429, allocations: 11.92 MB / 0.5801 GB, free: 5.645 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/0.6431, allocations: 36 kB / 0.5801 GB, free: 5.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.05411/0.6972, allocations: 17.29 MB / 0.597 GB, free: 4.301 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.6974, allocations: 60 kB / 0.597 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003833/0.6978, allocations: 127.9 kB / 0.5972 GB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2794/0.9772, allocations: 8.129 MB / 0.6051 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/0.9823, allocations: 1.495 MB / 0.6066 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03386/1.016, allocations: 28.85 MB / 0.6347 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/1.022, allocations: 0.5029 MB / 0.6352 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/1.024, allocations: 384.9 kB / 0.6356 GB, free: 117.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (772): * Single equations (assignments): 767 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005302/1.029, allocations: 2.212 MB / 0.6378 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/1.031, allocations: 438.8 kB / 0.6382 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03305/1.064, allocations: 12.09 MB / 0.65 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/1.065, allocations: 23.94 kB / 0.65 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.503e-05/1.065, allocations: 11.66 kB / 0.65 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.36e-05/1.065, allocations: 7.5 kB / 0.65 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04464/1.109, allocations: 20.29 MB / 0.6698 GB, free: 97.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/1.109, allocations: 6 kB / 0.6698 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.111, allocations: 403 kB / 0.6702 GB, free: 96.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02335/1.135, allocations: 7.203 MB / 0.6773 GB, free: 89.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000625/1.135, allocations: 44 kB / 0.6773 GB, free: 89.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02698/1.162, allocations: 23.88 MB / 0.7006 GB, free: 65.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.162, allocations: 13.95 kB / 0.7006 GB, free: 65.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03084/1.193, allocations: 15.77 MB / 0.716 GB, free: 50.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.194, allocations: 386.9 kB / 0.7164 GB, free: 49.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.196, allocations: 43.92 kB / 0.7165 GB, free: 49.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/1.199, allocations: 267.6 kB / 0.7167 GB, free: 49.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008824/1.2, allocations: 165 kB / 0.7169 GB, free: 49.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/1.2, allocations: 63.98 kB / 0.7169 GB, free: 49.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003661/1.204, allocations: 2.473 MB / 0.7193 GB, free: 46.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.204, allocations: 0 / 0.7193 GB, free: 46.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00624/1.21, allocations: 1.514 MB / 0.7208 GB, free: 45.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (168): * Single equations (assignments): 163 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000747/1.211, allocations: 201 kB / 0.721 GB, free: 45.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/1.222, allocations: 8.363 MB / 0.7292 GB, free: 36.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.222, allocations: 4 kB / 0.7292 GB, free: 36.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/1.226, allocations: 3.188 MB / 0.7323 GB, free: 33.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.231, allocations: 472.4 kB / 0.7327 GB, free: 33.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.249, allocations: 12.21 MB / 0.7447 GB, free: 20.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004018/1.253, allocations: 2.981 MB / 0.7476 GB, free: 17.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004432/1.258, allocations: 1.914 MB / 0.7494 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.259, allocations: 248.4 kB / 0.7497 GB, free: 15.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/1.259, allocations: 0 / 0.7497 GB, free: 15.64 MB / 458.7 MB Notification: Performance of Templates: time 0.2829/1.542, allocations: 69.39 MB / 0.8174 GB, free: 124.6 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.111848453059793]