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.001982/0.001982, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002824/0.002824, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.603/1.603, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.3517/0.3517, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 179] 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.002387/0.002387, allocations: 59.91 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1616, allocations: 65.98 MB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01449/0.1761, allocations: 12.07 MB / 0.5676 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009497/0.1856, allocations: 4.345 MB / 0.5719 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.1873, allocations: 87.56 kB / 0.572 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005615/0.1929, allocations: 2.768 MB / 0.5747 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.1984, allocations: 2.039 MB / 0.5766 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.2005, allocations: 0.8969 MB / 0.5775 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008489/0.209, allocations: 5.669 MB / 0.5831 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/0.2131, allocations: 2.894 MB / 0.5859 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.216, allocations: 1.744 MB / 0.5876 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.22, allocations: 2.714 MB / 0.5902 GB, free: 2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009285/0.2209, allocations: 388 kB / 0.5906 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.2246, allocations: 1.436 MB / 0.592 GB, free: 188 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2992/0.5238, allocations: 2.233 MB / 0.5942 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005228/0.529, allocations: 2.423 MB / 0.5966 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.5442, allocations: 7.884 MB / 0.6043 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5442, allocations: 1.781 kB / 0.6043 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5442, allocations: 0 / 0.6043 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003463/0.5446, allocations: 3.406 kB / 0.6043 GB, free: 10.11 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.02074/0.5653, allocations: 5.622 MB / 0.6097 GB, free: 7.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5653, allocations: 10.38 kB / 0.6098 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.5787, allocations: 2.51 MB / 0.6122 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.5889, allocations: 3.381 MB / 0.6155 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.5892, allocations: 238.2 kB / 0.6157 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.5914, allocations: 340.6 kB / 0.6161 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/0.6148, allocations: 10.87 MB / 0.6267 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.6149, allocations: 50.67 kB / 0.6267 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006325/0.6156, allocations: 158 kB / 0.6269 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002999/0.6186, allocations: 1.998 MB / 0.6288 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.6403, allocations: 9.442 MB / 0.6381 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06609/0.7064, allocations: 41.12 MB / 0.6782 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.719, allocations: 4.099 MB / 0.6822 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/0.7225, allocations: 1.779 MB / 0.684 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/0.7376, allocations: 7.62 MB / 0.6914 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.7376, allocations: 50.75 kB / 0.6914 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=180): time 5.401e-06/0.7377, allocations: 0 / 0.6914 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236): time 0.1871/0.9248, allocations: 41.12 MB / 0.7316 GB, free: 10.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.9249, allocations: 205.2 kB / 0.7318 GB, free: 9.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009181/0.9341, allocations: 4.314 MB / 0.736 GB, free: 5.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009167/0.935, allocations: 57.7 kB / 0.7361 GB, free: 5.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/0.9383, allocations: 3.29 MB / 0.7393 GB, free: 2.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/0.9402, allocations: 0.9245 MB / 0.7402 GB, free: 1.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002775/0.943, allocations: 1.363 MB / 0.7415 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9432, allocations: 305.1 kB / 0.7418 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006319/0.9495, allocations: 3.624 MB / 0.7453 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/0.9598, allocations: 7.302 MB / 0.7525 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/0.9774, allocations: 11.62 MB / 0.7638 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/0.9776, allocations: 40 kB / 0.7639 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04822/1.026, allocations: 16.18 MB / 0.7797 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.026, allocations: 63.98 kB / 0.7797 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.026, allocations: 124 kB / 0.7798 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02806/1.054, allocations: 6.227 MB / 0.7859 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/1.06, allocations: 1.489 MB / 0.7874 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04501/1.105, allocations: 27.64 MB / 0.8144 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007656/1.113, allocations: 415.5 kB / 0.8148 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.115, allocations: 384 kB / 0.8151 GB, free: 1.414 MB / 0.6231 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 (779): * Single equations (assignments): 774 * 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.005477/1.12, allocations: 2.219 MB / 0.8173 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.121, allocations: 409.3 kB / 0.8177 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/1.157, allocations: 11.26 MB / 0.8287 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.28e-05/1.157, allocations: 24 kB / 0.8287 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/1.157, allocations: 15.94 kB / 0.8287 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.952e-05/1.157, allocations: 11.95 kB / 0.8287 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3679/1.525, allocations: 20.61 MB / 0.8489 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/1.525, allocations: 5.219 kB / 0.8489 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.527, allocations: 392.7 kB / 0.8492 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02244/1.55, allocations: 5.306 MB / 0.8544 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007002/1.551, allocations: 48.09 kB / 0.8545 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/1.577, allocations: 22.7 MB / 0.8766 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.577, allocations: 11.69 kB / 0.8767 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03174/1.609, allocations: 14.59 MB / 0.8909 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.611, allocations: 467.7 kB / 0.8913 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000927/1.612, allocations: 44 kB / 0.8914 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.614, allocations: 179.7 kB / 0.8916 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007096/1.615, allocations: 156.7 kB / 0.8917 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.615, allocations: 65.33 kB / 0.8918 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004213/1.619, allocations: 2.701 MB / 0.8944 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/1.619, allocations: 0 / 0.8944 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007748/1.627, allocations: 1.359 MB / 0.8957 GB, free: 182.5 MB / 0.6387 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.0007657/1.628, allocations: 186.1 kB / 0.8959 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.639, allocations: 8.007 MB / 0.9037 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.639, allocations: 11.78 kB / 0.9037 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003972/1.643, allocations: 2.988 MB / 0.9067 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.647, allocations: 0.5004 MB / 0.9071 GB, free: 171 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.666, allocations: 11.96 MB / 0.9188 GB, free: 159 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003666/1.67, allocations: 3.504 MB / 0.9222 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004247/1.674, allocations: 1.953 MB / 0.9242 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.675, allocations: 275.4 kB / 0.9244 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.675, allocations: 3.938 kB / 0.9244 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.09855/1.773, allocations: 67.35 MB / 0.9902 GB, free: 86.08 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 -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.605351008474827]