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.0008077/0.0008077, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003187/0.003187, allocations: 160.1 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8617/0.8617, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.24/0.24, allocations: 34.25 MB / 295.7 MB, free: 0.707 MB / 266.7 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.533e-06/1.533e-06, allocations: 0 / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.041e-05, allocations: 2.281 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2062/0.2062, allocations: 10.53 MB / 453.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.2114, allocations: 4.111 MB / 458.1 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.2123, allocations: 87.84 kB / 458.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.2145, allocations: 2.795 MB / 460.9 MB, free: 34.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.217, allocations: 2.122 MB / 463.1 MB, free: 33.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009871/0.218, allocations: 0.9908 MB / 464.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003079/0.221, allocations: 6.417 MB / 470.5 MB, free: 30.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2228, allocations: 3.325 MB / 473.8 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.2246, allocations: 2.653 MB / 476.4 MB, free: 28.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2263, allocations: 2.817 MB / 479.3 MB, free: 27.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.2266, allocations: 394.6 kB / 479.6 MB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.2279, allocations: 1.353 MB / 481 MB, free: 27.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.2292, allocations: 2.336 MB / 483.3 MB, free: 26.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2304, allocations: 1.447 MB / 484.8 MB, free: 25.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006971/0.2373, allocations: 8.064 MB / 492.8 MB, free: 22.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2373, allocations: 1.375 kB / 492.8 MB, free: 22.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2373, allocations: 4 kB / 492.9 MB, free: 22.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.2374, allocations: 0 / 492.9 MB, free: 22.79 MB / 410.7 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.00747/0.2449, allocations: 5.612 MB / 498.5 MB, free: 19.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.245, allocations: 9.062 kB / 498.5 MB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/0.2505, allocations: 2.591 MB / 0.4893 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.2544, allocations: 3.296 MB / 0.4925 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2546, allocations: 244.5 kB / 0.4928 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.255, allocations: 324.5 kB / 0.4931 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009735/0.2648, allocations: 10.95 MB / 0.5038 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.518e-05/0.2648, allocations: 55.58 kB / 0.5038 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.2651, allocations: 155.8 kB / 0.504 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/0.2666, allocations: 1.998 MB / 0.5059 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009668/0.2762, allocations: 9.424 MB / 0.5151 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.3065, allocations: 38.32 MB / 0.5525 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006091/0.3126, allocations: 3.77 MB / 0.5562 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3141, allocations: 1.782 MB / 0.558 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006944/0.3211, allocations: 6.008 MB / 0.5638 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.3211, allocations: 55.55 kB / 0.5639 GB, free: 8.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 4.689e-06/0.3211, allocations: 0 / 0.5639 GB, free: 8.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.08626/0.4074, allocations: 41.91 MB / 0.6048 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.4075, allocations: 205.9 kB / 0.605 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.4115, allocations: 4.209 MB / 0.6091 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.4117, allocations: 57.7 kB / 0.6092 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.4133, allocations: 3.284 MB / 0.6124 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/0.4139, allocations: 0.903 MB / 0.6133 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4153, allocations: 1.345 MB / 0.6146 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.4153, allocations: 305.1 kB / 0.6149 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/0.4188, allocations: 3.628 MB / 0.6184 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/0.424, allocations: 7.34 MB / 0.6256 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.187/0.6109, allocations: 11.62 MB / 0.6369 GB, free: 147 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.732e-05/0.611, allocations: 36.12 kB / 0.637 GB, free: 147 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02031/0.6313, allocations: 16.14 MB / 0.6527 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.6314, allocations: 65.69 kB / 0.6528 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-05/0.6314, allocations: 128.4 kB / 0.6529 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.6428, allocations: 6.223 MB / 0.659 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.6455, allocations: 1.49 MB / 0.6604 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.6684, allocations: 27.18 MB / 0.687 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/0.6723, allocations: 470.3 kB / 0.6874 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/0.6726, allocations: 384.1 kB / 0.6878 GB, free: 128.9 MB / 0.5261 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.002878/0.6755, allocations: 2.221 MB / 0.69 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.6759, allocations: 374 kB / 0.6903 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.69, allocations: 11.22 MB / 0.7013 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6901, allocations: 28 kB / 0.7013 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.6901, allocations: 8 kB / 0.7013 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6901, allocations: 23.89 kB / 0.7013 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.711, allocations: 18.97 MB / 0.7199 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.711, allocations: 8 kB / 0.7199 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/0.7119, allocations: 388 kB / 0.7202 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009645/0.7216, allocations: 5.301 MB / 0.7254 GB, free: 94.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.7217, allocations: 50.11 kB / 0.7255 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.7371, allocations: 22.27 MB / 0.7472 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7371, allocations: 8 kB / 0.7472 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.7534, allocations: 14.53 MB / 0.7614 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7545, allocations: 386.4 kB / 0.7618 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/0.7549, allocations: 47.92 kB / 0.7618 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.7561, allocations: 231.6 kB / 0.762 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.7565, allocations: 160.9 kB / 0.7622 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.7566, allocations: 66.41 kB / 0.7623 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002349/0.759, allocations: 2.49 MB / 0.7647 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.759, allocations: 4.062 kB / 0.7647 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004118/0.7631, allocations: 1.492 MB / 0.7662 GB, free: 52.73 MB / 0.5261 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.000402/0.7635, allocations: 189.8 kB / 0.7663 GB, free: 52.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006467/0.77, allocations: 8.019 MB / 0.7742 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.77, allocations: 0 / 0.7742 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.7722, allocations: 2.986 MB / 0.7771 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.7739, allocations: 455 kB / 0.7775 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7854, allocations: 12.37 MB / 0.7896 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.7876, allocations: 2.949 MB / 0.7925 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.7885, allocations: 304.4 kB / 0.7928 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.7885, allocations: 0 / 0.7928 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.2594/1.048, allocations: 111 MB / 0.9012 GB, free: 145.5 MB / 0.5573 GB " [Timeout remaining time 659] 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: 9.135454057715833]