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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 104.9 kB / 17.08 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 198.9 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0128/0.1314, allocations: 12.11 MB / 0.5004 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009534/0.141, allocations: 4.307 MB / 0.5046 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.1434, allocations: 75.81 kB / 0.5046 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005461/0.1489, allocations: 2.737 MB / 0.5073 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.1544, allocations: 2.015 MB / 0.5093 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.1566, allocations: 0.9164 MB / 0.5102 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007533/0.1641, allocations: 5.248 MB / 0.5153 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005169/0.1693, allocations: 3.37 MB / 0.5186 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.173, allocations: 1.736 MB / 0.5203 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.1772, allocations: 2.532 MB / 0.5228 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.1787, allocations: 388 kB / 0.5231 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.1823, allocations: 1.404 MB / 0.5245 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003545/0.1859, allocations: 2.217 MB / 0.5267 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005099/0.191, allocations: 2.459 MB / 0.5291 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3052/0.4962, allocations: 7.902 MB / 0.5368 GB, free: 16.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4963, allocations: 0 / 0.5368 GB, free: 16.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4963, allocations: 1.125 kB / 0.5368 GB, free: 16.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003129/0.4966, allocations: 2.297 kB / 0.5368 GB, free: 16.08 MB / 414.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.01855/0.5151, allocations: 5.533 MB / 0.5422 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5152, allocations: 12.83 kB / 0.5422 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.5265, allocations: 2.473 MB / 0.5446 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00987/0.5364, allocations: 3.527 MB / 0.5481 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.5368, allocations: 238.7 kB / 0.5483 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.5389, allocations: 336.7 kB / 0.5486 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.5615, allocations: 10.87 MB / 0.5592 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.5617, allocations: 59.31 kB / 0.5593 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004601/0.5622, allocations: 152.5 kB / 0.5594 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/0.565, allocations: 1.999 MB / 0.5614 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.583, allocations: 9.447 MB / 0.5706 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/0.6329, allocations: 41.06 MB / 0.6107 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.6433, allocations: 4.264 MB / 0.6149 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/0.6459, allocations: 1.923 MB / 0.6168 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.6574, allocations: 7.623 MB / 0.6242 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.6574, allocations: 58.66 kB / 0.6243 GB, free: 13.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 4.579e-06/0.6575, allocations: 0 / 0.6243 GB, free: 13.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.1561/0.8135, allocations: 40.98 MB / 0.6643 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8137, allocations: 205.3 kB / 0.6645 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008413/0.8221, allocations: 4.334 MB / 0.6687 GB, free: 80 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006034/0.8227, allocations: 61.7 kB / 0.6688 GB, free: 12 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/0.8254, allocations: 3.163 MB / 0.6718 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/0.8267, allocations: 0.8862 MB / 0.6727 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00434/0.831, allocations: 1.358 MB / 0.674 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8312, allocations: 305.1 kB / 0.6743 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005231/0.8365, allocations: 3.624 MB / 0.6779 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/0.8434, allocations: 7.295 MB / 0.685 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/0.8564, allocations: 11.62 MB / 0.6963 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-05/0.8565, allocations: 36 kB / 0.6964 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03895/0.8954, allocations: 16.21 MB / 0.7122 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.8956, allocations: 56 kB / 0.7123 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/0.8959, allocations: 128.8 kB / 0.7124 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/0.9183, allocations: 6.223 MB / 0.7185 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/0.9241, allocations: 1.493 MB / 0.7199 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03914/0.9632, allocations: 27.63 MB / 0.7469 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006711/0.97, allocations: 419.3 kB / 0.7473 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/0.9716, allocations: 391.2 kB / 0.7477 GB, free: 12.23 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 (779): * Single equations (assignments): 774 * 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.006108/0.9777, allocations: 2.228 MB / 0.7498 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.9793, allocations: 390.9 kB / 0.7502 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.354/1.333, allocations: 11.29 MB / 0.7612 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.608e-05/1.333, allocations: 13 kB / 0.7613 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.333, allocations: 3.188 kB / 0.7613 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/1.337, allocations: 1.033 MB / 0.7623 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/1.338, allocations: 35.88 kB / 0.7623 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/1.342, allocations: 177.5 kB / 0.7625 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007387/1.342, allocations: 184 kB / 0.7626 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01923/1.362, allocations: 8.765 MB / 0.7712 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01239/1.374, allocations: 9.677 MB / 0.7807 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003117/1.377, allocations: 2.719 MB / 0.7833 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004188/1.381, allocations: 2.722 MB / 0.786 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of Backend: time 3.81e-07/1.381, allocations: 3.938 kB / 0.786 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.394, allocations: 6.152 MB / 0.792 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01779/1.411, allocations: 10.2 MB / 0.8019 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1071/1.518, allocations: 75.7 MB / 0.8759 GB, free: 119 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches