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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001074, allocations: 179.9 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.4 MB / 230.3 MB, free: 7.656 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009676, allocations: 89.8 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1654/0.1654, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.442e-06, allocations: 8.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2859/0.3926, allocations: 93.87 MB / 0.5858 GB, free: 3.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.3929, allocations: 71.97 kB / 0.5858 GB, free: 2.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06469/0.4576, allocations: 26.85 MB / 0.612 GB, free: 7.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.189e-05/0.4577, allocations: 32 kB / 0.6121 GB, free: 7.836 MB / 426.7 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.004269/0.462, allocations: 1.616 MB / 0.6136 GB, free: 6.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.4621, allocations: 11.97 kB / 0.6137 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.4636, allocations: 253.1 kB / 0.6139 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.4657, allocations: 0.8411 MB / 0.6147 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.4658, allocations: 63.91 kB / 0.6148 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/0.4663, allocations: 108 kB / 0.6149 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003167/0.4694, allocations: 1.746 MB / 0.6166 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.474, allocations: 3.091 MB / 0.6196 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.474, allocations: 15.88 kB / 0.6196 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.4742, allocations: 8 kB / 0.6196 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/0.4746, allocations: 356 kB / 0.62 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.4861, allocations: 14.57 MB / 0.6342 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.4862, allocations: 169.1 kB / 0.6344 GB, free: 16 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.4862, allocations: 84.14 kB / 0.6344 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.4862, allocations: 75.28 kB / 0.6345 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4863, allocations: 105.8 kB / 0.6346 GB, free: 15.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.4863, allocations: 0 / 0.6346 GB, free: 15.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.000232/0.4865, allocations: 136.2 kB / 0.6347 GB, free: 15.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.4866, allocations: 63.33 kB / 0.6348 GB, free: 15.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.4879, allocations: 1.136 MB / 0.6359 GB, free: 14.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.488, allocations: 25.7 kB / 0.6359 GB, free: 14.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/0.4887, allocations: 1.331 MB / 0.6372 GB, free: 12.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.4887, allocations: 43.95 kB / 0.6373 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.4887, allocations: 0 / 0.6373 GB, free: 12.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4889, allocations: 426.8 kB / 0.6377 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.4893, allocations: 324 kB / 0.638 GB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4906, allocations: 1.863 MB / 0.6398 GB, free: 9.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.4914, allocations: 0.7488 MB / 0.6405 GB, free: 8.777 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.4914, allocations: 16 kB / 0.6406 GB, free: 8.762 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002466/0.4939, allocations: 1.722 MB / 0.6422 GB, free: 7.035 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4939, allocations: 4.219 kB / 0.6422 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/0.494, allocations: 64 kB / 0.6423 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-05/0.4941, allocations: 83.91 kB / 0.6424 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4952, allocations: 491 kB / 0.6429 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.377e-05/0.4953, allocations: 111.6 kB / 0.643 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4965, allocations: 252.8 kB / 0.6432 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4967, allocations: 144 kB / 0.6433 GB, free: 5.906 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.4969, allocations: 330.1 kB / 0.6437 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4971, allocations: 199.7 kB / 0.6438 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.4973, allocations: 210.3 kB / 0.644 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.219e-05/0.4973, allocations: 180.2 kB / 0.6442 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.448e-05/0.4974, allocations: 184.3 kB / 0.6444 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-05/0.4975, allocations: 188.1 kB / 0.6446 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4986, allocations: 1.013 MB / 0.6456 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.4986, allocations: 101.1 kB / 0.6457 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.4986, allocations: 108.9 kB / 0.6458 GB, free: 3.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-05/0.4987, allocations: 184.2 kB / 0.6459 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.4987, allocations: 180.3 kB / 0.6461 GB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.602e-05/0.4988, allocations: 180.2 kB / 0.6463 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-05/0.4989, allocations: 176.3 kB / 0.6465 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000184/0.4991, allocations: 412.2 kB / 0.6468 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4993, allocations: 268.8 kB / 0.6471 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.4994, allocations: 180.3 kB / 0.6473 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.4997, allocations: 104.9 kB / 0.6474 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.4997, allocations: 176.3 kB / 0.6475 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.4998, allocations: 105 kB / 0.6476 GB, free: 1.285 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0008032/0.5006, allocations: 0.7424 MB / 0.6484 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00142/0.502, allocations: 417.7 kB / 0.6488 GB, free: 128 kB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.5022, allocations: 178.5 kB / 0.6489 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.5031, allocations: 0.7938 MB / 0.6497 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5031, allocations: 3.938 kB / 0.6497 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5031, allocations: 1.25 kB / 0.6497 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.5036, allocations: 0.613 MB / 0.6503 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.5068, allocations: 2.076 MB / 0.6523 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.5082, allocations: 1.687 MB / 0.654 GB, free: 10.69 MB / 474.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5082, allocations: 0 / 0.654 GB, free: 10.69 MB / 474.7 MB Notification: Performance of Templates: time 0.01519/0.5234, allocations: 6.31 MB / 0.6602 GB, free: 4.395 MB / 474.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches