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.001481/0.001481, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001668/0.001668, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.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.2365/0.2365, allocations: 34.26 MB / 295.5 MB, free: 14.61 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.002048/0.002048, allocations: 71.88 kB / 443.1 MB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 66 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.008881/0.3411, allocations: 10.52 MB / 0.5075 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007837/0.3489, allocations: 4.11 MB / 0.5115 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.351, allocations: 88.09 kB / 0.5116 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004903/0.3559, allocations: 2.67 MB / 0.5142 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.3627, allocations: 2.047 MB / 0.5162 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.3655, allocations: 0.9148 MB / 0.5171 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009939/0.3754, allocations: 5.684 MB / 0.5226 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005001/0.3804, allocations: 2.804 MB / 0.5254 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.3845, allocations: 1.752 MB / 0.5271 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.3894, allocations: 2.58 MB / 0.5296 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.3909, allocations: 384.2 kB / 0.53 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.3944, allocations: 1.298 MB / 0.5312 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.3975, allocations: 2.245 MB / 0.5334 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.4003, allocations: 1.816 MB / 0.5352 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008577/0.4088, allocations: 7.916 MB / 0.5429 GB, free: 5.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4088, allocations: 0 / 0.5429 GB, free: 5.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4088, allocations: 0 / 0.5429 GB, free: 5.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000286/0.4091, allocations: 1.312 kB / 0.5429 GB, free: 5.168 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.01481/0.4239, allocations: 5.559 MB / 0.5484 GB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.424, allocations: 8.031 kB / 0.5484 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.4369, allocations: 2.611 MB / 0.5509 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.4474, allocations: 3.309 MB / 0.5542 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.4477, allocations: 246.4 kB / 0.5544 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.4496, allocations: 331.7 kB / 0.5547 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.4726, allocations: 10.94 MB / 0.5654 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.4728, allocations: 55.59 kB / 0.5654 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.4732, allocations: 147.9 kB / 0.5656 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/0.4767, allocations: 1.998 MB / 0.5675 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.4978, allocations: 9.432 MB / 0.5767 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0606/0.5584, allocations: 38.1 MB / 0.6139 GB, free: 12.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.5701, allocations: 3.751 MB / 0.6176 GB, free: 8.32 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.5732, allocations: 1.779 MB / 0.6193 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.5865, allocations: 5.809 MB / 0.625 GB, free: 0.6875 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/0.5866, allocations: 59.5 kB / 0.6251 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=180): time 6.933e-06/0.5866, allocations: 0 / 0.6251 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of matching and sorting (n=236): time 0.1852/0.7718, allocations: 41.77 MB / 0.6659 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.772, allocations: 210 kB / 0.6661 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007461/0.7794, allocations: 4.038 MB / 0.67 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/0.7801, allocations: 57.7 kB / 0.6701 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003071/0.7832, allocations: 3.315 MB / 0.6733 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.7847, allocations: 0.9263 MB / 0.6742 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003724/0.7885, allocations: 1.361 MB / 0.6755 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7886, allocations: 301.1 kB / 0.6758 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006531/0.7951, allocations: 3.624 MB / 0.6794 GB, free: 8.902 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/0.8055, allocations: 7.344 MB / 0.6865 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/0.8233, allocations: 11.62 MB / 0.6979 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002545/0.8236, allocations: 43.94 kB / 0.6979 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2896/1.113, allocations: 16.14 MB / 0.7137 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/1.113, allocations: 58.62 kB / 0.7137 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.113, allocations: 131.3 kB / 0.7139 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02531/1.139, allocations: 6.222 MB / 0.7199 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005369/1.144, allocations: 1.492 MB / 0.7214 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03584/1.18, allocations: 27.13 MB / 0.7479 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/1.186, allocations: 407.8 kB / 0.7483 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.187, allocations: 390.8 kB / 0.7487 GB, free: 147.3 MB / 0.5919 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.006606/1.194, allocations: 2.216 MB / 0.7508 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.195, allocations: 368.7 kB / 0.7512 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02944/1.225, allocations: 11.22 MB / 0.7621 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/1.225, allocations: 24 kB / 0.7622 GB, free: 137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-05/1.225, allocations: 11.94 kB / 0.7622 GB, free: 137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-05/1.225, allocations: 22.14 kB / 0.7622 GB, free: 137 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/1.268, allocations: 18.88 MB / 0.7806 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/1.268, allocations: 4.062 kB / 0.7806 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.271, allocations: 395.4 kB / 0.781 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02038/1.291, allocations: 5.301 MB / 0.7862 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007177/1.292, allocations: 44 kB / 0.7862 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02621/1.318, allocations: 22.2 MB / 0.8079 GB, free: 89.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.318, allocations: 19.91 kB / 0.8079 GB, free: 89.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03132/1.349, allocations: 14.54 MB / 0.8221 GB, free: 75.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.35, allocations: 345.4 kB / 0.8225 GB, free: 74.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.352, allocations: 47.92 kB / 0.8225 GB, free: 74.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.355, allocations: 179.7 kB / 0.8227 GB, free: 74.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/1.356, allocations: 165 kB / 0.8228 GB, free: 74.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004804/1.357, allocations: 63.98 kB / 0.8229 GB, free: 74.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004627/1.362, allocations: 2.357 MB / 0.8252 GB, free: 72.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.362, allocations: 0 / 0.8252 GB, free: 72.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008124/1.37, allocations: 1.352 MB / 0.8265 GB, free: 70.81 MB / 0.5919 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.001057/1.371, allocations: 190.5 kB / 0.8267 GB, free: 70.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.383, allocations: 8.004 MB / 0.8345 GB, free: 62.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.383, allocations: 0 / 0.8345 GB, free: 62.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.387, allocations: 2.987 MB / 0.8374 GB, free: 59.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.391, allocations: 459.2 kB / 0.8379 GB, free: 59.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.413, allocations: 12.02 MB / 0.8496 GB, free: 47.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005809/1.419, allocations: 2.982 MB / 0.8525 GB, free: 44.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004613/1.424, allocations: 1.915 MB / 0.8544 GB, free: 42.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.425, allocations: 248.5 kB / 0.8546 GB, free: 41.91 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/1.425, allocations: 0 / 0.8546 GB, free: 41.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.09829/1.523, allocations: 64.42 MB / 0.9175 GB, free: 9.777 MB / 0.6231 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 ida -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.779880619957112]