Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.8 MB, free: 3.57 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.91 MB / 349.6 MB, free: 1.664 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 65.3 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1018, allocations: 64.26 MB / 0.543 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009314/0.1112, allocations: 7.656 MB / 0.5505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.1159, allocations: 2.547 MB / 0.553 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005932/0.1165, allocations: 31.94 kB / 0.553 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.1184, allocations: 0.8993 MB / 0.5539 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.1191, allocations: 326.3 kB / 0.5542 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.1198, allocations: 327.2 kB / 0.5545 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.1207, allocations: 0.734 MB / 0.5552 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008516/0.1215, allocations: 0.6851 MB / 0.5559 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.1219, allocations: 374.5 kB / 0.5563 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.1228, allocations: 0.6855 MB / 0.5569 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.123, allocations: 104 kB / 0.557 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.1238, allocations: 0.5421 MB / 0.5575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.1243, allocations: 0.5025 MB / 0.558 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.1248, allocations: 0.571 MB / 0.5586 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.1268, allocations: 1.79 MB / 0.5603 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1268, allocations: 4 kB / 0.5603 GB, free: 2.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1268, allocations: 0 / 0.5603 GB, free: 2.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1268, allocations: 3.938 kB / 0.5604 GB, free: 2.199 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003531/0.1303, allocations: 1.664 MB / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1304, allocations: 12.03 kB / 0.562 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.1306, allocations: 186.5 kB / 0.5622 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.1314, allocations: 168 kB / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.1327, allocations: 0.636 MB / 0.5629 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.1328, allocations: 62.09 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.1329, allocations: 83.95 kB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/0.1379, allocations: 2.669 MB / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.1379, allocations: 11.89 kB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.138, allocations: 35.97 kB / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005224/0.1385, allocations: 385.7 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/0.1438, allocations: 2.365 MB / 0.5684 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009971/0.1538, allocations: 8.226 MB / 0.5765 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.1574, allocations: 0.9521 MB / 0.5774 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.1578, allocations: 240.7 kB / 0.5776 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.1597, allocations: 1.718 MB / 0.5793 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.1597, allocations: 42.59 kB / 0.5793 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.1597, allocations: 0 / 0.5793 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01096/0.1707, allocations: 2.965 MB / 0.5822 GB, free: 10.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1707, allocations: 63.91 kB / 0.5823 GB, free: 10.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.172, allocations: 0.907 MB / 0.5832 GB, free: 9.992 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.172, allocations: 37.7 kB / 0.5832 GB, free: 9.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.1726, allocations: 0.6861 MB / 0.5839 GB, free: 9.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1727, allocations: 214.3 kB / 0.5841 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.1731, allocations: 250.7 kB / 0.5843 GB, free: 8.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.1733, allocations: 402.7 kB / 0.5847 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.1739, allocations: 366.4 kB / 0.5851 GB, free: 8.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.1749, allocations: 0.9992 MB / 0.586 GB, free: 6.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.1767, allocations: 1.499 MB / 0.5875 GB, free: 4.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.1767, allocations: 4 kB / 0.5875 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002091/0.1788, allocations: 1.401 MB / 0.5889 GB, free: 3.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.1788, allocations: 19.94 kB / 0.5889 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.1789, allocations: 24 kB / 0.5889 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.191e-05/0.1789, allocations: 28 kB / 0.5889 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.1801, allocations: 315.5 kB / 0.5892 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.1813, allocations: 1.459 MB / 0.5907 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.1819, allocations: 48 kB / 0.5907 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.182, allocations: 71.94 kB / 0.5908 GB, free: 1.418 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0006772/0.1827, allocations: 0.497 MB / 0.5913 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.1828, allocations: 95.33 kB / 0.5914 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.183, allocations: 120.8 kB / 0.5915 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.183, allocations: 4 kB / 0.5915 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.183, allocations: 4 kB / 0.5915 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.183, allocations: 3.984 kB / 0.5915 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.1868, allocations: 2.175 MB / 0.5936 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.1868, allocations: 8 kB / 0.5936 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.1873, allocations: 124.6 kB / 0.5937 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.1873, allocations: 8 kB / 0.5937 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.1873, allocations: 20 kB / 0.5938 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1884, allocations: 1.416 MB / 0.5951 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/0.1884, allocations: 11.94 kB / 0.5951 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1894, allocations: 0.8427 MB / 0.596 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.1897, allocations: 164.5 kB / 0.5961 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.1898, allocations: 23.94 kB / 0.5962 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.1901, allocations: 19.98 kB / 0.5962 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.1902, allocations: 55.77 kB / 0.5962 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.1902, allocations: 28 kB / 0.5963 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007892/0.191, allocations: 0.5927 MB / 0.5968 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.191, allocations: 0 / 0.5968 GB, free: 10.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000978/0.192, allocations: 216 kB / 0.597 GB, free: 10.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001392/0.1934, allocations: 1.406 MB / 0.5984 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.1948, allocations: 0.8457 MB / 0.5992 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1948, allocations: 1.938 kB / 0.5992 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.1953, allocations: 272.8 kB / 0.5995 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.196, allocations: 123.2 kB / 0.5996 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2381/0.4341, allocations: 9.435 MB / 0.6088 GB, free: 59.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008997/0.435, allocations: 1.22 MB / 0.61 GB, free: 58.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000884/0.4359, allocations: 338.8 kB / 0.6103 GB, free: 58.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.4364, allocations: 408.9 kB / 0.6107 GB, free: 58.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4364, allocations: 0 / 0.6107 GB, free: 58.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.4809, allocations: 17.43 MB / 0.6278 GB, free: 53.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.36, allocations: 8.828 kB / 0.6278 GB, free: 53.52 MB / 462.1 MB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.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: 19.583888950757682]