Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.001374/0.001374, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001576/0.001576, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.93 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 79.88 kB / 0.4967 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3669, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009967/0.3769, allocations: 7.659 MB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.382, allocations: 2.188 MB / 0.5708 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.3828, allocations: 43.88 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.386, allocations: 1.499 MB / 0.5723 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.387, allocations: 485.3 kB / 0.5728 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.3873, allocations: 71.89 kB / 0.5728 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.3885, allocations: 0.9292 MB / 0.5738 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.3899, allocations: 1.209 MB / 0.5749 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.3906, allocations: 0.5411 MB / 0.5755 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009686/0.3915, allocations: 0.6497 MB / 0.5761 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.3917, allocations: 120 kB / 0.5762 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.3921, allocations: 120 kB / 0.5763 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000704/0.3928, allocations: 0.7439 MB / 0.5771 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.3934, allocations: 0.6405 MB / 0.5777 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.3958, allocations: 2.351 MB / 0.58 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3958, allocations: 8 kB / 0.58 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3958, allocations: 0 / 0.58 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.3958, allocations: 0 / 0.58 GB, free: 0.6172 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002797/0.3986, allocations: 1.924 MB / 0.5819 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3987, allocations: 8.031 kB / 0.5819 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.3993, allocations: 223.4 kB / 0.5821 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4005, allocations: 0.6664 MB / 0.5827 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4006, allocations: 115.4 kB / 0.5828 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.4008, allocations: 152.1 kB / 0.583 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.405, allocations: 3.387 MB / 0.5863 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.405, allocations: 19.75 kB / 0.5863 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.4052, allocations: 71.95 kB / 0.5864 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000778/0.406, allocations: 0.6149 MB / 0.587 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.4091, allocations: 1.858 MB / 0.5888 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.4221, allocations: 12.42 MB / 0.6009 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.4223, allocations: 165.1 kB / 0.6011 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.4223, allocations: 80.14 kB / 0.6012 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/0.4224, allocations: 83.28 kB / 0.6012 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.4224, allocations: 109.8 kB / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.4224, allocations: 0 / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002857/0.4227, allocations: 140.9 kB / 0.6015 GB, free: 9.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.4228, allocations: 126.7 kB / 0.6016 GB, free: 9.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.4245, allocations: 1.442 MB / 0.603 GB, free: 8.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4246, allocations: 25.7 kB / 0.603 GB, free: 8.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4256, allocations: 1.443 MB / 0.6044 GB, free: 6.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4257, allocations: 43.95 kB / 0.6045 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.4261, allocations: 431.1 kB / 0.6049 GB, free: 6.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4263, allocations: 334 kB / 0.6052 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.4268, allocations: 371.8 kB / 0.6056 GB, free: 5.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.4287, allocations: 1.933 MB / 0.6074 GB, free: 2.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.4315, allocations: 2.511 MB / 0.6099 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/0.4315, allocations: 16 kB / 0.6099 GB, free: 15.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003355/0.4349, allocations: 2.1 MB / 0.612 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.4349, allocations: 28 kB / 0.612 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/0.435, allocations: 60 kB / 0.6121 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-05/0.435, allocations: 72 kB / 0.6121 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4362, allocations: 487.1 kB / 0.6126 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.4363, allocations: 123.4 kB / 0.6127 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4377, allocations: 297.8 kB / 0.613 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4378, allocations: 140 kB / 0.6131 GB, free: 12.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001109/0.4389, allocations: 0.8592 MB / 0.614 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.4391, allocations: 216.2 kB / 0.6142 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.4393, allocations: 206 kB / 0.6144 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.013e-05/0.4394, allocations: 184.3 kB / 0.6145 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.755e-05/0.4395, allocations: 184.2 kB / 0.6147 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/0.4395, allocations: 180.2 kB / 0.6149 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4406, allocations: 0.9772 MB / 0.6158 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.597e-05/0.4407, allocations: 108.9 kB / 0.6159 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.4407, allocations: 105 kB / 0.616 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.346e-05/0.4408, allocations: 188.1 kB / 0.6162 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.4409, allocations: 180.3 kB / 0.6164 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.026e-05/0.441, allocations: 180.2 kB / 0.6166 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.017e-05/0.441, allocations: 180.3 kB / 0.6167 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4413, allocations: 412.8 kB / 0.6171 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.4415, allocations: 184.3 kB / 0.6173 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.4417, allocations: 192.1 kB / 0.6175 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.442, allocations: 112.9 kB / 0.6176 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.4421, allocations: 176.3 kB / 0.6178 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.4421, allocations: 108.9 kB / 0.6179 GB, free: 7.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.4432, allocations: 0.7968 MB / 0.6186 GB, free: 6.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4432, allocations: 0 / 0.6186 GB, free: 6.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00171/0.4449, allocations: 462.3 kB / 0.6191 GB, free: 5.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001668/0.445, allocations: 170.5 kB / 0.6193 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4464, allocations: 0.8687 MB / 0.6201 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4464, allocations: 4.062 kB / 0.6201 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.4464, allocations: 0 / 0.6201 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.4471, allocations: 0.5394 MB / 0.6206 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.4522, allocations: 2.792 MB / 0.6234 GB, free: 1.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.4538, allocations: 0.9995 MB / 0.6243 GB, free: 364 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001105/0.4549, allocations: 461.7 kB / 0.6248 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.455, allocations: 67.38 kB / 0.6248 GB, free: 15.84 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.455, allocations: 0 / 0.6248 GB, free: 15.84 MB / 478.1 MB Notification: Performance of Templates: time 0.01859/0.4736, allocations: 7.76 MB / 0.6324 GB, free: 8.211 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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: 5.375319784507155]