Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001424/0.001424, allocations: 120.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.001517/0.001517, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.581/1.581, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2852/0.2852, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 0.4914 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 66 MB / 0.5558 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01539/0.1396, allocations: 13.44 MB / 0.569 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1497, allocations: 4.809 MB / 0.5737 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.1515, allocations: 115.3 kB / 0.5738 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007116/0.1586, allocations: 3.777 MB / 0.5775 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.1652, allocations: 2.218 MB / 0.5796 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.1679, allocations: 1.08 MB / 0.5807 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.1781, allocations: 6.661 MB / 0.5872 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/0.1829, allocations: 3.796 MB / 0.5909 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3262/0.509, allocations: 2.063 MB / 0.5929 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00685/0.5159, allocations: 2.96 MB / 0.5958 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.5181, allocations: 428.5 kB / 0.5962 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.5231, allocations: 1.483 MB / 0.5977 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005615/0.5288, allocations: 2.519 MB / 0.6001 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008906/0.5377, allocations: 2.763 MB / 0.6028 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.5547, allocations: 8.796 MB / 0.6114 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5547, allocations: 0 / 0.6114 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5547, allocations: 0 / 0.6114 GB, free: 7.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000477/0.5552, allocations: 1.375 kB / 0.6114 GB, free: 7.148 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02566/0.5809, allocations: 6.394 MB / 0.6176 GB, free: 3.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.5809, allocations: 10.03 kB / 0.6177 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.595, allocations: 2.564 MB / 0.6202 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.6084, allocations: 3.955 MB / 0.624 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/0.6089, allocations: 286.2 kB / 0.6243 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/0.6116, allocations: 385.8 kB / 0.6247 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/0.6463, allocations: 12.01 MB / 0.6364 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004657/0.6467, allocations: 60.41 kB / 0.6364 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/0.6493, allocations: 171.1 kB / 0.6366 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004965/0.6543, allocations: 2.141 MB / 0.6387 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03073/0.685, allocations: 10.37 MB / 0.6488 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08767/0.7727, allocations: 47.36 MB / 0.6951 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/0.7904, allocations: 5.597 MB / 0.7005 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004445/0.7948, allocations: 2.687 MB / 0.7032 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01726/0.8121, allocations: 8.886 MB / 0.7118 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.8121, allocations: 54.97 kB / 0.7119 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 4.919e-06/0.8121, allocations: 0 / 0.7119 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1428/0.9549, allocations: 35.13 MB / 0.7462 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/0.9551, allocations: 213.2 kB / 0.7464 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/0.964, allocations: 4.773 MB / 0.7511 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008251/0.9648, allocations: 65.7 kB / 0.7511 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003913/0.9687, allocations: 3.676 MB / 0.7547 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001989/0.9707, allocations: 1.019 MB / 0.7557 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002689/0.9734, allocations: 1.429 MB / 0.7571 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9735, allocations: 306.8 kB / 0.7574 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005706/0.9792, allocations: 3.176 MB / 0.7605 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/0.99, allocations: 7.037 MB / 0.7674 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/1.008, allocations: 10.96 MB / 0.7781 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/1.008, allocations: 44 kB / 0.7781 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03631/1.044, allocations: 13.71 MB / 0.7915 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.044, allocations: 65 kB / 0.7916 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/1.044, allocations: 132 kB / 0.7917 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/1.059, allocations: 4.397 MB / 0.796 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/1.065, allocations: 1.474 MB / 0.7974 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05183/1.116, allocations: 29.05 MB / 0.8258 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/1.123, allocations: 407.4 kB / 0.8262 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.124, allocations: 408 kB / 0.8266 GB, free: 3.465 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.00542/1.13, allocations: 2.476 MB / 0.829 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.131, allocations: 460.9 kB / 0.8294 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3452/1.476, allocations: 8.43 MB / 0.8377 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/1.476, allocations: 27.69 kB / 0.8377 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-05/1.476, allocations: 12.5 kB / 0.8377 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.644e-05/1.476, allocations: 17.34 kB / 0.8377 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.509, allocations: 16.87 MB / 0.8542 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.509, allocations: 7.844 kB / 0.8542 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.511, allocations: 296.4 kB / 0.8545 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/1.522, allocations: 3.971 MB / 0.8584 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004802/1.522, allocations: 44.84 kB / 0.8584 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/1.554, allocations: 27.8 MB / 0.8856 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.554, allocations: 7.938 kB / 0.8856 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.574, allocations: 12.4 MB / 0.8977 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.575, allocations: 0.5067 MB / 0.8982 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/1.576, allocations: 53.23 kB / 0.8982 GB, free: 176.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.579, allocations: 169.5 kB / 0.8984 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007741/1.58, allocations: 194 kB / 0.8986 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.58, allocations: 73.33 kB / 0.8986 GB, free: 176 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004477/1.584, allocations: 3.009 MB / 0.9016 GB, free: 173 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/1.584, allocations: 0 / 0.9016 GB, free: 173 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007733/1.592, allocations: 1.45 MB / 0.903 GB, free: 171.6 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005871/1.593, allocations: 193 kB / 0.9032 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.605, allocations: 8.155 MB / 0.9111 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.605, allocations: 4 kB / 0.9111 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00541/1.611, allocations: 3.315 MB / 0.9144 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/1.615, allocations: 0.5746 MB / 0.9149 GB, free: 159.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.64, allocations: 12.6 MB / 0.9272 GB, free: 146.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005677/1.646, allocations: 3.912 MB / 0.9311 GB, free: 142.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004736/1.65, allocations: 2.003 MB / 0.933 GB, free: 140.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008734/1.651, allocations: 283.4 kB / 0.9333 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.803e-06/1.651, allocations: 0 / 0.9333 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.1082/1.759, allocations: 69.97 MB / 1.002 GB, free: 70.85 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.757597535848618]