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.001859/0.001859, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002211/0.002211, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2219/0.2219, allocations: 46.95 MB / 361.6 MB, free: 4.035 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 0.002028/0.002028, allocations: 71.84 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2889, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01295/0.3019, allocations: 10.52 MB / 0.5721 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008591/0.3105, allocations: 4.111 MB / 0.5761 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.3119, allocations: 95.5 kB / 0.5762 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005108/0.317, allocations: 2.663 MB / 0.5788 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004896/0.3219, allocations: 2.051 MB / 0.5808 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3238, allocations: 0.9047 MB / 0.5817 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007467/0.3312, allocations: 5.681 MB / 0.5872 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.3347, allocations: 2.83 MB / 0.59 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.3377, allocations: 1.744 MB / 0.5917 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.3418, allocations: 2.718 MB / 0.5943 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008952/0.3427, allocations: 384 kB / 0.5947 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.3453, allocations: 1.303 MB / 0.596 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.3478, allocations: 2.248 MB / 0.5982 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.3503, allocations: 1.821 MB / 0.6 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009119/0.3594, allocations: 7.915 MB / 0.6077 GB, free: 4.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3594, allocations: 4 kB / 0.6077 GB, free: 4.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3594, allocations: 0 / 0.6077 GB, free: 4.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.3596, allocations: 0 / 0.6077 GB, free: 4.961 MB / 446.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.01146/0.371, allocations: 5.547 MB / 0.6131 GB, free: 15.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3711, allocations: 8.031 kB / 0.6131 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.3822, allocations: 2.505 MB / 0.6156 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008717/0.3909, allocations: 3.309 MB / 0.6188 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.3911, allocations: 238.5 kB / 0.619 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.3921, allocations: 347.5 kB / 0.6193 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.4118, allocations: 10.92 MB / 0.63 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.4119, allocations: 47.59 kB / 0.6301 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/0.4124, allocations: 159.8 kB / 0.6302 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/0.4156, allocations: 2.002 MB / 0.6322 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.4349, allocations: 9.409 MB / 0.6414 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05184/0.4867, allocations: 37.98 MB / 0.6784 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.4978, allocations: 3.621 MB / 0.682 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.5005, allocations: 1.773 MB / 0.6837 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.5128, allocations: 5.775 MB / 0.6894 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5129, allocations: 51.56 kB / 0.6894 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 4.679e-06/0.5129, allocations: 0 / 0.6894 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1731/0.686, allocations: 40.98 MB / 0.7294 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.6861, allocations: 213.9 kB / 0.7296 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.6918, allocations: 4.038 MB / 0.7336 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.6923, allocations: 57.7 kB / 0.7336 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2481/0.9404, allocations: 3.312 MB / 0.7369 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.9416, allocations: 0.9224 MB / 0.7378 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.944, allocations: 1.362 MB / 0.7391 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.944, allocations: 301.1 kB / 0.7394 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.9483, allocations: 3.629 MB / 0.7429 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.9533, allocations: 7.343 MB / 0.7501 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009971/0.9633, allocations: 11.62 MB / 0.7614 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.398e-05/0.9634, allocations: 36 kB / 0.7615 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03293/0.9963, allocations: 16.14 MB / 0.7772 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/0.9964, allocations: 64.03 kB / 0.7773 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.9965, allocations: 128 kB / 0.7774 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02193/1.018, allocations: 6.228 MB / 0.7835 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/1.023, allocations: 1.489 MB / 0.785 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/1.052, allocations: 27.12 MB / 0.8115 GB, free: 89.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/1.057, allocations: 411.7 kB / 0.8118 GB, free: 88.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007547/1.058, allocations: 387.9 kB / 0.8122 GB, free: 88.41 MB / 0.5606 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.002885/1.061, allocations: 2.213 MB / 0.8144 GB, free: 86.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006432/1.061, allocations: 378.5 kB / 0.8147 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02528/1.087, allocations: 11.21 MB / 0.8257 GB, free: 74.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/1.087, allocations: 30.19 kB / 0.8257 GB, free: 74.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.087, allocations: 12 kB / 0.8257 GB, free: 74.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/1.087, allocations: 15.95 kB / 0.8257 GB, free: 74.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/1.124, allocations: 18.86 MB / 0.8442 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.124, allocations: 4 kB / 0.8442 GB, free: 55.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.126, allocations: 388.6 kB / 0.8445 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01861/1.144, allocations: 5.301 MB / 0.8497 GB, free: 49.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.145, allocations: 44 kB / 0.8497 GB, free: 49.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/1.169, allocations: 22.22 MB / 0.8715 GB, free: 27.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.169, allocations: 7.938 kB / 0.8715 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/1.197, allocations: 14.55 MB / 0.8857 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.198, allocations: 344.2 kB / 0.886 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006803/1.199, allocations: 44 kB / 0.886 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.201, allocations: 175.7 kB / 0.8862 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006218/1.201, allocations: 164.9 kB / 0.8864 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.202, allocations: 64 kB / 0.8864 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0028/1.204, allocations: 2.357 MB / 0.8887 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.204, allocations: 64 / 0.8887 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005327/1.21, allocations: 1.35 MB / 0.89 GB, free: 8.117 MB / 0.5606 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.0005339/1.21, allocations: 179.6 kB / 0.8902 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.221, allocations: 8.012 MB / 0.898 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.221, allocations: 4 kB / 0.898 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.226, allocations: 2.99 MB / 0.901 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.229, allocations: 455.9 kB / 0.9014 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.249, allocations: 12.01 MB / 0.9131 GB, free: 408 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004091/1.253, allocations: 2.971 MB / 0.916 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00467/1.258, allocations: 1.915 MB / 0.9179 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009929/1.259, allocations: 251.4 kB / 0.9181 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.259, allocations: 0 / 0.9181 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.3466/1.606, allocations: 71.97 MB / 0.9884 GB, free: 217.7 MB / 0.6387 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/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: 7.767404843005352]