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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001041, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 97.77 kB / 292.2 MB, free: 10.69 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.3083/0.3083, allocations: 44.21 MB / 387.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2993, allocations: 61.89 MB / 0.5096 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.42, allocations: 94.68 MB / 0.602 GB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4203, allocations: 79.95 kB / 0.6021 GB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06468/0.485, allocations: 28.04 MB / 0.6295 GB, free: 4.086 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4851, allocations: 0 / 0.6295 GB, free: 4.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.909e-05/0.4851, allocations: 36 kB / 0.6295 GB, free: 4.051 MB / 442.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.00251/0.4877, allocations: 1.671 MB / 0.6311 GB, free: 2.324 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4877, allocations: 12.03 kB / 0.6312 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/0.4885, allocations: 265.1 kB / 0.6314 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.49, allocations: 0.8349 MB / 0.6322 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.4901, allocations: 143.8 kB / 0.6324 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.4904, allocations: 187.9 kB / 0.6325 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.4945, allocations: 3.364 MB / 0.6358 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.4946, allocations: 19.81 kB / 0.6358 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.4948, allocations: 87.95 kB / 0.6359 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.4951, allocations: 340.1 kB / 0.6362 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.4978, allocations: 1.865 MB / 0.6381 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.5105, allocations: 15.22 MB / 0.6529 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.5107, allocations: 173.1 kB / 0.6531 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.5108, allocations: 75.28 kB / 0.6532 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.5109, allocations: 109.8 kB / 0.6533 GB, free: 10.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.915e-06/0.5109, allocations: 4 kB / 0.6533 GB, free: 10.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003139/0.5112, allocations: 152 kB / 0.6534 GB, free: 10.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.5113, allocations: 134.7 kB / 0.6536 GB, free: 10.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.5131, allocations: 1.467 MB / 0.655 GB, free: 8.918 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5131, allocations: 25.7 kB / 0.655 GB, free: 8.887 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/0.5141, allocations: 1.363 MB / 0.6563 GB, free: 7.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.5142, allocations: 51.88 kB / 0.6564 GB, free: 7.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.5142, allocations: 48 kB / 0.6564 GB, free: 7.402 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.5145, allocations: 438.7 kB / 0.6569 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.515, allocations: 359.8 kB / 0.6572 GB, free: 6.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.5168, allocations: 1.913 MB / 0.6591 GB, free: 3.879 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.5178, allocations: 0.7763 MB / 0.6598 GB, free: 3.102 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.5178, allocations: 20 kB / 0.6598 GB, free: 3.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003205/0.5211, allocations: 2.095 MB / 0.6619 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.5211, allocations: 32.25 kB / 0.6619 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-05/0.5212, allocations: 60 kB / 0.662 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.396e-05/0.5213, allocations: 80 kB / 0.6621 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5223, allocations: 487 kB / 0.6625 GB, free: 344 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.927e-05/0.5224, allocations: 115.5 kB / 0.6626 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5239, allocations: 312.8 kB / 0.6629 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.5241, allocations: 140 kB / 0.6631 GB, free: 15.77 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001207/0.5253, allocations: 0.8628 MB / 0.6639 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5255, allocations: 235.3 kB / 0.6641 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.5257, allocations: 231.3 kB / 0.6643 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/0.5258, allocations: 176.3 kB / 0.6645 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.616e-05/0.5258, allocations: 184.2 kB / 0.6647 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/0.5259, allocations: 184 kB / 0.6649 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.5277, allocations: 1.485 MB / 0.6663 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/0.5278, allocations: 101 kB / 0.6664 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.5278, allocations: 101 kB / 0.6665 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.5279, allocations: 180.4 kB / 0.6667 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.528, allocations: 192.3 kB / 0.6669 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.815e-05/0.5281, allocations: 180.2 kB / 0.667 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.264e-05/0.5281, allocations: 180.3 kB / 0.6672 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.5284, allocations: 429.3 kB / 0.6676 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.5287, allocations: 300.5 kB / 0.6679 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.5289, allocations: 184.2 kB / 0.6681 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5292, allocations: 109 kB / 0.6682 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.5293, allocations: 184.2 kB / 0.6684 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5293, allocations: 101 kB / 0.6685 GB, free: 10.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.5306, allocations: 1.007 MB / 0.6694 GB, free: 9.004 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5306, allocations: 0 / 0.6694 GB, free: 9.004 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001804/0.5324, allocations: 442 kB / 0.6699 GB, free: 8.57 MB / 490.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 () * 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 (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.000211/0.5326, allocations: 178.5 kB / 0.67 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.5338, allocations: 0.8915 MB / 0.6709 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5339, allocations: 0 / 0.6709 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-06/0.5339, allocations: 4.625 kB / 0.6709 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.5345, allocations: 0.6433 MB / 0.6715 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.5394, allocations: 3.395 MB / 0.6748 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.5408, allocations: 1.619 MB / 0.6764 GB, free: 1.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00119/0.542, allocations: 487.2 kB / 0.6769 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5421, allocations: 71.44 kB / 0.677 GB, free: 1.219 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5421, allocations: 0 / 0.677 GB, free: 1.219 MB / 490.7 MB Notification: Performance of Templates: time 0.2748/0.8169, allocations: 7.938 MB / 0.6847 GB, free: 117.3 MB / 490.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