Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001578/0.001578, allocations: 76.5 kB / 19.93 MB, free: 1.781 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.001768/0.001768, allocations: 165.1 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2354/0.2354, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.178e-05, allocations: 2.281 kB / 407.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01503/0.01507, allocations: 10.6 MB / 418 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.02769, allocations: 4.12 MB / 422.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.03082, allocations: 95.5 kB / 422.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006363/0.03719, allocations: 2.795 MB / 425 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.04396, allocations: 2.146 MB / 427.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.04682, allocations: 1.029 MB / 428.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.05843, allocations: 5.917 MB / 434.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005685/0.06412, allocations: 3.352 MB / 437.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.06885, allocations: 2.67 MB / 440.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.07337, allocations: 2.837 MB / 442.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008785/0.07424, allocations: 396 kB / 443.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.07706, allocations: 1.361 MB / 444.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002727/0.07979, allocations: 2.376 MB / 447 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.08262, allocations: 1.464 MB / 448.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.09743, allocations: 8.139 MB / 456.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.09744, allocations: 0 / 456.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.09744, allocations: 0 / 456.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003285/0.09777, allocations: 4 kB / 456.6 MB, free: 1.539 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.01926/0.117, allocations: 5.644 MB / 462.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1171, allocations: 16.02 kB / 462.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.1298, allocations: 2.607 MB / 464.9 MB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009834/0.1397, allocations: 3.41 MB / 468.3 MB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.1399, allocations: 238.5 kB / 468.6 MB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.1412, allocations: 336.3 kB / 468.9 MB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2961/0.4373, allocations: 10.94 MB / 479.8 MB, free: 62.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.4375, allocations: 51.59 kB / 479.9 MB, free: 62.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005601/0.4381, allocations: 156.1 kB / 480 MB, free: 62.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004072/0.4422, allocations: 1.996 MB / 482 MB, free: 61.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.4658, allocations: 9.429 MB / 491.4 MB, free: 58.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/0.5099, allocations: 38.37 MB / 0.5174 GB, free: 23.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009859/0.5198, allocations: 3.765 MB / 0.5211 GB, free: 20.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.5217, allocations: 1.771 MB / 0.5228 GB, free: 18.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009547/0.5313, allocations: 6.011 MB / 0.5287 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5313, allocations: 55.5 kB / 0.5287 GB, free: 12.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=180): time 4.438e-06/0.5313, allocations: 0 / 0.5287 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=236): time 0.188/0.7193, allocations: 41.98 MB / 0.5697 GB, free: 2.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.7195, allocations: 205.9 kB / 0.5699 GB, free: 2.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007837/0.7273, allocations: 4.318 MB / 0.5741 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008594/0.7282, allocations: 61.7 kB / 0.5742 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003786/0.732, allocations: 3.29 MB / 0.5774 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002281/0.7343, allocations: 0.9069 MB / 0.5783 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003031/0.7373, allocations: 1.345 MB / 0.5796 GB, free: 8.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.7375, allocations: 309.1 kB / 0.5799 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006269/0.7438, allocations: 3.624 MB / 0.5834 GB, free: 4.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/0.7547, allocations: 7.348 MB / 0.5906 GB, free: 11.42 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.7734, allocations: 11.62 MB / 0.602 GB, free: 14.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002049/0.7736, allocations: 40 kB / 0.602 GB, free: 13.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.04756/0.8211, allocations: 16.14 MB / 0.6178 GB, free: 13.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.8214, allocations: 60 kB / 0.6178 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00047/0.8218, allocations: 128 kB / 0.6179 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0275/0.8493, allocations: 6.227 MB / 0.624 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/0.8556, allocations: 1.489 MB / 0.6255 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04468/0.9002, allocations: 27.19 MB / 0.652 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/0.9083, allocations: 475.5 kB / 0.6525 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/0.9097, allocations: 395.9 kB / 0.6529 GB, free: 9.633 MB / 0.5137 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.005914/0.9156, allocations: 2.224 MB / 0.655 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/0.917, allocations: 378.9 kB / 0.6554 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2834/1.2, allocations: 11.22 MB / 0.6664 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/1.2, allocations: 26.56 kB / 0.6664 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/1.2, allocations: 10.83 kB / 0.6664 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/1.2, allocations: 11.12 kB / 0.6664 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04795/1.248, allocations: 19.01 MB / 0.685 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.706e-05/1.249, allocations: 9.234 kB / 0.685 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.251, allocations: 383.9 kB / 0.6853 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02145/1.273, allocations: 5.298 MB / 0.6905 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006767/1.273, allocations: 61.11 kB / 0.6906 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02585/1.299, allocations: 22.26 MB / 0.7123 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.299, allocations: 13.11 kB / 0.7123 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03031/1.329, allocations: 14.53 MB / 0.7265 GB, free: 133.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.332, allocations: 0.9303 MB / 0.7274 GB, free: 133.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000734/1.333, allocations: 55.28 kB / 0.7275 GB, free: 133.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.336, allocations: 243.3 kB / 0.7277 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000794/1.337, allocations: 156.9 kB / 0.7279 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.337, allocations: 64 kB / 0.7279 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003517/1.34, allocations: 2.564 MB / 0.7304 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.34, allocations: 3.688 kB / 0.7304 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0063/1.347, allocations: 1.511 MB / 0.7319 GB, free: 128.6 MB / 0.5137 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.0006453/1.347, allocations: 199 kB / 0.7321 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.358, allocations: 8.008 MB / 0.7399 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/1.358, allocations: 4 kB / 0.7399 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.362, allocations: 2.995 MB / 0.7428 GB, free: 117.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.365, allocations: 461.5 kB / 0.7433 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.386, allocations: 11.98 MB / 0.755 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.39, allocations: 2.982 MB / 0.7579 GB, free: 102.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004139/1.394, allocations: 1.928 MB / 0.7598 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.395, allocations: 256.4 kB / 0.76 GB, free: 99.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.493e-06/1.395, allocations: 0 / 0.76 GB, free: 99.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.09262/1.488, allocations: 66.81 MB / 0.8253 GB, free: 32.94 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.440895728766918]