Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 167.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.211/0.211, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.014e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.242/0.2421, allocations: 10.52 MB / 453.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009923/0.252, allocations: 4.127 MB / 457.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.2552, allocations: 93.66 kB / 457.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/0.261, allocations: 2.789 MB / 460.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.2671, allocations: 2.113 MB / 462.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.2696, allocations: 1.005 MB / 463.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.2798, allocations: 6.409 MB / 469.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.2853, allocations: 3.321 MB / 473 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00654/0.2918, allocations: 2.649 MB / 475.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.2963, allocations: 2.816 MB / 478.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.2973, allocations: 395 kB / 478.9 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.2999, allocations: 1.358 MB / 480.3 MB, free: 292 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002686/0.3026, allocations: 2.333 MB / 482.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.3055, allocations: 1.453 MB / 484 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.3162, allocations: 8.061 MB / 492.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3162, allocations: 0 / 492.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3162, allocations: 0 / 492.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.3164, allocations: 0 / 492.1 MB, free: 4.66 MB / 382.1 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.01306/0.3295, allocations: 5.621 MB / 497.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3295, allocations: 8.031 kB / 497.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.3422, allocations: 2.611 MB / 0.4886 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007432/0.3496, allocations: 3.292 MB / 0.4918 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.3498, allocations: 246.4 kB / 0.4921 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008192/0.3506, allocations: 328.4 kB / 0.4924 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/0.3729, allocations: 10.94 MB / 0.5031 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.3731, allocations: 55.53 kB / 0.5031 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/0.3736, allocations: 155.8 kB / 0.5033 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003564/0.3772, allocations: 2.002 MB / 0.5052 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/0.398, allocations: 9.416 MB / 0.5144 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05475/0.4527, allocations: 38.31 MB / 0.5518 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.4643, allocations: 3.77 MB / 0.5555 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.4671, allocations: 1.776 MB / 0.5572 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.4785, allocations: 5.996 MB / 0.5631 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.4785, allocations: 55.55 kB / 0.5632 GB, free: 14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 4.378e-06/0.4785, allocations: 0 / 0.5632 GB, free: 14 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.1836/0.6621, allocations: 41.91 MB / 0.6041 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.6623, allocations: 209.9 kB / 0.6043 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006685/0.669, allocations: 4.209 MB / 0.6084 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005945/0.6696, allocations: 65.69 kB / 0.6085 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.6721, allocations: 3.288 MB / 0.6117 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.6734, allocations: 0.8994 MB / 0.6125 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002302/0.6757, allocations: 1.349 MB / 0.6139 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6758, allocations: 301.1 kB / 0.6141 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005673/0.6815, allocations: 3.632 MB / 0.6177 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.6918, allocations: 7.34 MB / 0.6249 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2585/0.9503, allocations: 11.61 MB / 0.6362 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/0.9504, allocations: 37.81 kB / 0.6362 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.04465/0.9951, allocations: 16.15 MB / 0.652 GB, free: 161 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.9952, allocations: 59.94 kB / 0.6521 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/0.9954, allocations: 131.6 kB / 0.6522 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02517/1.021, allocations: 6.22 MB / 0.6583 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/1.026, allocations: 1.492 MB / 0.6597 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03051/1.056, allocations: 27.17 MB / 0.6863 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005801/1.062, allocations: 468.3 kB / 0.6867 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000693/1.063, allocations: 388 kB / 0.6871 GB, free: 140.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * 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 (778): * Single equations (assignments): 773 * 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.002913/1.066, allocations: 2.211 MB / 0.6892 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/1.066, allocations: 371.8 kB / 0.6896 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02805/1.095, allocations: 11.22 MB / 0.7005 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/1.095, allocations: 27.59 kB / 0.7006 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.095, allocations: 12 kB / 0.7006 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.892e-05/1.095, allocations: 15.89 kB / 0.7006 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03969/1.134, allocations: 18.98 MB / 0.7191 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/1.134, allocations: 8.531 kB / 0.7191 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.136, allocations: 392 kB / 0.7195 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02127/1.158, allocations: 5.309 MB / 0.7247 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000479/1.158, allocations: 40 kB / 0.7247 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.184, allocations: 22.28 MB / 0.7465 GB, free: 79.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.184, allocations: 8.812 kB / 0.7465 GB, free: 79.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0309/1.214, allocations: 14.54 MB / 0.7607 GB, free: 64.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.216, allocations: 385.6 kB / 0.7611 GB, free: 64.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006988/1.216, allocations: 51.92 kB / 0.7611 GB, free: 64.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.219, allocations: 227.6 kB / 0.7613 GB, free: 64.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/1.22, allocations: 161.8 kB / 0.7615 GB, free: 64.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.22, allocations: 64 kB / 0.7615 GB, free: 64.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00285/1.223, allocations: 2.486 MB / 0.764 GB, free: 61.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.223, allocations: 3.062 kB / 0.764 GB, free: 61.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005265/1.228, allocations: 1.49 MB / 0.7654 GB, free: 60.06 MB / 0.5294 GB 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 (167): * Single equations (assignments): 162 * 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.0005777/1.229, allocations: 194.6 kB / 0.7656 GB, free: 59.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009831/1.238, allocations: 8.008 MB / 0.7734 GB, free: 51.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.238, allocations: 4 kB / 0.7734 GB, free: 51.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003632/1.242, allocations: 2.986 MB / 0.7764 GB, free: 48.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.245, allocations: 464.4 kB / 0.7768 GB, free: 48.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.26, allocations: 11.94 MB / 0.7885 GB, free: 36.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.263, allocations: 2.97 MB / 0.7914 GB, free: 33.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003788/1.267, allocations: 1.922 MB / 0.7932 GB, free: 31.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.268, allocations: 260.4 kB / 0.7935 GB, free: 31.26 MB / 0.5294 GB Notification: Performance of SimCode: time 2.044e-06/1.268, allocations: 0 / 0.7935 GB, free: 31.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.324/1.592, allocations: 66.16 MB / 0.8581 GB, free: 172.1 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.106511864811182]