Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001966/0.001966, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.248/2.248, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4075/0.4075, allocations: 44.17 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 61.12 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.197, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.06851/0.2655, allocations: 40.21 MB / 0.4975 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.449/0.7146, allocations: 7.312 MB / 0.5046 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.7275, allocations: 162.8 kB / 0.5047 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00561/0.7332, allocations: 1.528 MB / 0.5062 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.7359, allocations: 449.9 kB / 0.5067 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.7366, allocations: 64.44 kB / 0.5067 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.7406, allocations: 1.619 MB / 0.5083 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.7448, allocations: 1.583 MB / 0.5099 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.7467, allocations: 0.5047 MB / 0.5103 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.7497, allocations: 0.743 MB / 0.5111 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.7508, allocations: 108.4 kB / 0.5112 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.7522, allocations: 118.3 kB / 0.5113 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.7545, allocations: 0.7364 MB / 0.512 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003198/0.7577, allocations: 0.8527 MB / 0.5128 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004777/0.7625, allocations: 1.821 MB / 0.5146 GB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.7625, allocations: 0 / 0.5146 GB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7626, allocations: 0 / 0.5146 GB, free: 9.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001825/0.7628, allocations: 0 / 0.5146 GB, free: 9.539 MB / 382.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.009879/0.7727, allocations: 1.952 MB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.503e-05/0.7728, allocations: 9.625 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.7748, allocations: 212.7 kB / 0.5167 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.7774, allocations: 0.7293 MB / 0.5175 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.7776, allocations: 117.4 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.7783, allocations: 147.6 kB / 0.5177 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.7889, allocations: 3.383 MB / 0.521 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.7891, allocations: 15.22 kB / 0.521 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005866/0.7897, allocations: 73.39 kB / 0.5211 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/0.7912, allocations: 0.6188 MB / 0.5217 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.7975, allocations: 1.86 MB / 0.5235 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.8181, allocations: 13.53 MB / 0.5367 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.8183, allocations: 166.5 kB / 0.5369 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.8184, allocations: 82.61 kB / 0.537 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.8184, allocations: 79.28 kB / 0.537 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.532e-05/0.8185, allocations: 115 kB / 0.5372 GB, free: 11.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 4.008e-06/0.8185, allocations: 0 / 0.5372 GB, free: 11.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0006051/0.8191, allocations: 149.8 kB / 0.5373 GB, free: 10.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8192, allocations: 126.7 kB / 0.5374 GB, free: 10.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.8236, allocations: 1.655 MB / 0.539 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.8236, allocations: 29.7 kB / 0.5391 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.8252, allocations: 1.357 MB / 0.5404 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.8254, allocations: 44.2 kB / 0.5404 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008753/0.8263, allocations: 423.6 kB / 0.5408 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.8266, allocations: 354.8 kB / 0.5412 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.8275, allocations: 378 kB / 0.5415 GB, free: 7.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.8302, allocations: 1.934 MB / 0.5434 GB, free: 5.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.8346, allocations: 2.513 MB / 0.5459 GB, free: 2.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.687e-05/0.8347, allocations: 14.94 kB / 0.5459 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006339/0.841, allocations: 2.114 MB / 0.548 GB, free: 2.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.8412, allocations: 38.38 kB / 0.548 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.8413, allocations: 56.75 kB / 0.548 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.8415, allocations: 72.38 kB / 0.5481 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.8436, allocations: 490.5 kB / 0.5486 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001451/0.8437, allocations: 111 kB / 0.5487 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/0.8468, allocations: 317.6 kB / 0.549 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/0.8472, allocations: 138.6 kB / 0.5491 GB, free: 1.863 MB / 398.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.002433/0.8497, allocations: 0.8678 MB / 0.55 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.8502, allocations: 230.7 kB / 0.5502 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.8507, allocations: 224.6 kB / 0.5504 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.922e-05/0.8508, allocations: 178.8 kB / 0.5506 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.7e-05/0.8509, allocations: 189.1 kB / 0.5508 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.1e-05/0.851, allocations: 176.3 kB / 0.5509 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.855, allocations: 1.481 MB / 0.5524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/0.8551, allocations: 107.7 kB / 0.5525 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.8551, allocations: 101 kB / 0.5526 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.8553, allocations: 186.6 kB / 0.5527 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/0.8554, allocations: 181 kB / 0.5529 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.131e-05/0.8555, allocations: 182.9 kB / 0.5531 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.758e-05/0.8556, allocations: 182.9 kB / 0.5533 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.8561, allocations: 428 kB / 0.5537 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.8568, allocations: 308.8 kB / 0.554 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/0.8573, allocations: 178.9 kB / 0.5541 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.8579, allocations: 107.4 kB / 0.5542 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.858, allocations: 180.3 kB / 0.5544 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.8581, allocations: 107.6 kB / 0.5545 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002702/0.8608, allocations: 1.022 MB / 0.5555 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8608, allocations: 0 / 0.5555 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003645/0.8645, allocations: 434.1 kB / 0.5559 GB, free: 11.21 MB / 414.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.0003505/0.8649, allocations: 174.5 kB / 0.5561 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.8674, allocations: 0.8964 MB / 0.557 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8675, allocations: 0 / 0.557 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.8675, allocations: 3.031 kB / 0.557 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.8696, allocations: 0.6378 MB / 0.5576 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.8804, allocations: 3.761 MB / 0.5613 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.8833, allocations: 1.583 MB / 0.5628 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.8838, allocations: 91.44 kB / 0.5629 GB, free: 4.152 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.8838, allocations: 0 / 0.5629 GB, free: 4.152 MB / 414.1 MB Notification: Performance of Templates: time 0.04578/0.9296, allocations: 17.76 MB / 0.5802 GB, free: 2.422 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches