Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001614/0.001614, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001741/0.001741, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.606e-05, allocations: 6.281 kB / 440.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2018/0.2019, allocations: 10.52 MB / 450.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008365/0.2102, allocations: 4.123 MB / 454.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.2124, allocations: 88.94 kB / 454.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.2176, allocations: 2.804 MB / 457.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.2235, allocations: 2.103 MB / 459.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.226, allocations: 1.005 MB / 460.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.2368, allocations: 6.41 MB / 467.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.241, allocations: 3.328 MB / 470.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.2465, allocations: 2.646 MB / 473.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.2509, allocations: 2.815 MB / 475.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.252, allocations: 395 kB / 476.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.2549, allocations: 1.363 MB / 477.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002261/0.2571, allocations: 2.337 MB / 480 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.2597, allocations: 1.448 MB / 481.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.2713, allocations: 8.061 MB / 489.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2713, allocations: 0 / 489.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2713, allocations: 0 / 489.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003011/0.2716, allocations: 0 / 489.5 MB, free: 8.625 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.01635/0.2879, allocations: 5.617 MB / 495.1 MB, free: 2.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.288, allocations: 8.031 kB / 495.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.3013, allocations: 2.615 MB / 497.7 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00917/0.3105, allocations: 3.292 MB / 0.4893 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.3107, allocations: 243.2 kB / 0.4895 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.312, allocations: 324.4 kB / 0.4898 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02482/0.3368, allocations: 10.95 MB / 0.5005 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/0.3371, allocations: 47.59 kB / 0.5006 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.3385, allocations: 159.8 kB / 0.5007 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.3424, allocations: 1.998 MB / 0.5027 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.3655, allocations: 9.42 MB / 0.5119 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05923/0.4247, allocations: 38.31 MB / 0.5493 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.4369, allocations: 3.777 MB / 0.553 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.4399, allocations: 1.776 MB / 0.5547 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.454, allocations: 6.004 MB / 0.5606 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.603e-05/0.4541, allocations: 55.55 kB / 0.5606 GB, free: 1.961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 5.68e-06/0.4541, allocations: 0 / 0.5606 GB, free: 1.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=236): time 0.1836/0.6377, allocations: 41.9 MB / 0.6016 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.6378, allocations: 217.9 kB / 0.6018 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/0.6446, allocations: 4.202 MB / 0.6059 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005259/0.6452, allocations: 61.7 kB / 0.6059 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002725/0.6479, allocations: 3.28 MB / 0.6091 GB, free: 204 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.6493, allocations: 0.9071 MB / 0.61 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/0.6523, allocations: 1.345 MB / 0.6113 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6524, allocations: 301.1 kB / 0.6116 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005649/0.6581, allocations: 3.624 MB / 0.6151 GB, free: 10 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008547/0.6666, allocations: 7.348 MB / 0.6223 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/0.6824, allocations: 11.62 MB / 0.6337 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.6825, allocations: 40 kB / 0.6337 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2374/0.9199, allocations: 16.14 MB / 0.6495 GB, free: 166 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/0.92, allocations: 60.97 kB / 0.6495 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/0.9202, allocations: 131.5 kB / 0.6497 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02506/0.9452, allocations: 6.23 MB / 0.6557 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00569/0.9509, allocations: 1.486 MB / 0.6572 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/0.9814, allocations: 27.18 MB / 0.6837 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/0.9873, allocations: 469.2 kB / 0.6842 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009835/0.9882, allocations: 385.9 kB / 0.6846 GB, free: 146.6 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.003718/0.992, allocations: 2.212 MB / 0.6867 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.993, allocations: 367.6 kB / 0.6871 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02731/1.02, allocations: 11.22 MB / 0.698 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/1.02, allocations: 30.03 kB / 0.6981 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.02, allocations: 8 kB / 0.6981 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-05/1.02, allocations: 15.91 kB / 0.6981 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/1.058, allocations: 18.99 MB / 0.7166 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/1.058, allocations: 8 kB / 0.7166 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.06, allocations: 387.4 kB / 0.717 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02022/1.08, allocations: 5.306 MB / 0.7222 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/1.081, allocations: 44 kB / 0.7222 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/1.105, allocations: 22.27 MB / 0.744 GB, free: 85.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.105, allocations: 15.62 kB / 0.744 GB, free: 85.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/1.135, allocations: 14.53 MB / 0.7582 GB, free: 71.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.136, allocations: 387.9 kB / 0.7585 GB, free: 70.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.138, allocations: 47.3 kB / 0.7586 GB, free: 70.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.141, allocations: 231.7 kB / 0.7588 GB, free: 70.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00078/1.141, allocations: 160.9 kB / 0.759 GB, free: 70.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/1.142, allocations: 64 kB / 0.759 GB, free: 70.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003491/1.145, allocations: 2.493 MB / 0.7615 GB, free: 67.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.145, allocations: 0 / 0.7615 GB, free: 67.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005756/1.151, allocations: 1.484 MB / 0.7629 GB, free: 66.33 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.0008233/1.152, allocations: 201.1 kB / 0.7631 GB, free: 66.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00971/1.162, allocations: 7.997 MB / 0.7709 GB, free: 58.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.162, allocations: 0 / 0.7709 GB, free: 58.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003551/1.165, allocations: 2.998 MB / 0.7738 GB, free: 55.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.168, allocations: 444.3 kB / 0.7743 GB, free: 54.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.184, allocations: 11.95 MB / 0.7859 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.187, allocations: 2.972 MB / 0.7888 GB, free: 39.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003639/1.191, allocations: 1.918 MB / 0.7907 GB, free: 37.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.192, allocations: 256.4 kB / 0.791 GB, free: 37.53 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/1.192, allocations: 0 / 0.791 GB, free: 37.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.3031/1.495, allocations: 66.17 MB / 0.8556 GB, free: 175.2 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.641234192997217]