Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 117.4 kB / 19.18 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 206.5 kB / 22.13 MB, free: 0.9258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.3 MB / 255.2 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2216/0.2216, allocations: 46.92 MB / 358.2 MB, free: 10.44 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 79.86 kB / 0.4925 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1295, allocations: 65.99 MB / 0.5569 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007632/0.1371, allocations: 5.433 MB / 0.5622 GB, free: 124 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1409, allocations: 1.815 MB / 0.564 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.1416, allocations: 27.88 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.1429, allocations: 0.5446 MB / 0.5646 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1449, allocations: 0.9185 MB / 0.5655 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.145, allocations: 15.92 kB / 0.5655 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.1469, allocations: 1.526 MB / 0.567 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.1477, allocations: 0.6682 MB / 0.5676 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.1483, allocations: 0.5331 MB / 0.5681 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.1503, allocations: 1.703 MB / 0.5698 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.1505, allocations: 95.94 kB / 0.5699 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.1511, allocations: 315.5 kB / 0.5702 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.1517, allocations: 0.7242 MB / 0.5709 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.1525, allocations: 0.869 MB / 0.5718 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.1553, allocations: 2.808 MB / 0.5745 GB, free: 3.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1553, allocations: 0 / 0.5745 GB, free: 3.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1553, allocations: 0 / 0.5745 GB, free: 3.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.831e-05/0.1554, allocations: 0 / 0.5745 GB, free: 3.512 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002991/0.1584, allocations: 2.105 MB / 0.5765 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1584, allocations: 8.031 kB / 0.5766 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.1635, allocations: 1.509 MB / 0.578 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.165, allocations: 0.8607 MB / 0.5789 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.1651, allocations: 90.47 kB / 0.579 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.1653, allocations: 111.8 kB / 0.5791 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00646/0.1718, allocations: 4.976 MB / 0.5839 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.1718, allocations: 19.81 kB / 0.5839 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.172, allocations: 59.91 kB / 0.584 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.1739, allocations: 1.189 MB / 0.5852 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006812/0.1807, allocations: 4.246 MB / 0.5893 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2638/0.4445, allocations: 20.55 MB / 0.6094 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4459, allocations: 1.182 MB / 0.6105 GB, free: 16.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.4464, allocations: 348.2 kB / 0.6109 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4464, allocations: 4.688 kB / 0.6109 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4464, allocations: 40.47 kB / 0.6109 GB, free: 16.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.076e-06/0.4464, allocations: 0.9688 kB / 0.6109 GB, free: 16.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001969/0.4484, allocations: 1.157 MB / 0.612 GB, free: 16.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4485, allocations: 137.6 kB / 0.6122 GB, free: 16.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.4518, allocations: 2.433 MB / 0.6145 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.4518, allocations: 34.84 kB / 0.6146 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.453, allocations: 1.87 MB / 0.6164 GB, free: 13.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.4533, allocations: 319.1 kB / 0.6167 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008075/0.4541, allocations: 0.794 MB / 0.6175 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4542, allocations: 357.1 kB / 0.6178 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4557, allocations: 1.041 MB / 0.6188 GB, free: 12.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.4585, allocations: 3.688 MB / 0.6224 GB, free: 8.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/0.4634, allocations: 5.158 MB / 0.6275 GB, free: 3.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.123e-05/0.4634, allocations: 26.88 kB / 0.6275 GB, free: 3.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007173/0.4706, allocations: 4.462 MB / 0.6319 GB, free: 2.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.4707, allocations: 48.78 kB / 0.6319 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.184e-05/0.4708, allocations: 94.16 kB / 0.632 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.4709, allocations: 123.2 kB / 0.6321 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.473, allocations: 0.8729 MB / 0.633 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001372/0.4732, allocations: 182.9 kB / 0.6331 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.4757, allocations: 0.5805 MB / 0.6337 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/0.4761, allocations: 260.3 kB / 0.634 GB, free: 1.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/0.4776, allocations: 1.182 MB / 0.6351 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.4779, allocations: 197.5 kB / 0.6353 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.4782, allocations: 220.6 kB / 0.6355 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/0.4783, allocations: 14.41 kB / 0.6355 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4783, allocations: 1.344 kB / 0.6355 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4783, allocations: 12.66 kB / 0.6355 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.4812, allocations: 2.061 MB / 0.6375 GB, free: 0 / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/0.4813, allocations: 3.953 kB / 0.6376 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4815, allocations: 66.17 kB / 0.6376 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4815, allocations: 3.531 kB / 0.6376 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.4816, allocations: 7.531 kB / 0.6376 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4816, allocations: 6.938 kB / 0.6376 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4816, allocations: 0 / 0.6376 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4827, allocations: 1.199 MB / 0.6388 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.4831, allocations: 263.2 kB / 0.6391 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.4832, allocations: 15.31 kB / 0.6391 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.4837, allocations: 16.12 kB / 0.6391 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.4837, allocations: 21.11 kB / 0.6391 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.4838, allocations: 21.5 kB / 0.6391 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001697/0.4855, allocations: 1.494 MB / 0.6406 GB, free: 14.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4855, allocations: 0 / 0.6406 GB, free: 14.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002716/0.4882, allocations: 0.5283 MB / 0.6411 GB, free: 14.31 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003044/0.4885, allocations: 123 kB / 0.6412 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003934/0.4924, allocations: 2.265 MB / 0.6434 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4924, allocations: 0.9375 kB / 0.6434 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.4929, allocations: 343.3 kB / 0.6438 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4942, allocations: 177.2 kB / 0.6439 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.5011, allocations: 4.301 MB / 0.6481 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.503, allocations: 1.871 MB / 0.65 GB, free: 5.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/0.5034, allocations: 165.3 kB / 0.6501 GB, free: 5.023 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5034, allocations: 0 / 0.6501 GB, free: 5.023 MB / 462.1 MB Notification: Performance of Templates: time 0.04631/0.5497, allocations: 28.07 MB / 0.6775 GB, free: 9.023 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.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.727199527013]