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.001037/0.001038, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001003/0.001003, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2082/0.2082, allocations: 44.19 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 67.97 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03896/0.1756, allocations: 40.21 MB / 0.4968 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2853/0.461, allocations: 7.321 MB / 0.504 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01097/0.472, allocations: 161.1 kB / 0.5041 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.4757, allocations: 1.525 MB / 0.5056 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4775, allocations: 448.9 kB / 0.506 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.4779, allocations: 63.47 kB / 0.5061 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.4806, allocations: 1.62 MB / 0.5077 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.483, allocations: 1.58 MB / 0.5092 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4841, allocations: 0.5003 MB / 0.5097 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.4855, allocations: 0.7479 MB / 0.5104 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.4858, allocations: 109.3 kB / 0.5105 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.4863, allocations: 124.4 kB / 0.5107 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008883/0.4872, allocations: 0.7321 MB / 0.5114 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008837/0.4881, allocations: 0.8522 MB / 0.5122 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.4909, allocations: 2.222 MB / 0.5144 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4909, allocations: 0 / 0.5144 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4909, allocations: 0.5 kB / 0.5144 GB, free: 9.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.179e-05/0.491, allocations: 4.5 kB / 0.5144 GB, free: 9.336 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.004347/0.4954, allocations: 1.955 MB / 0.5163 GB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4954, allocations: 8.75 kB / 0.5163 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.4963, allocations: 210.3 kB / 0.5165 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.4976, allocations: 0.7223 MB / 0.5172 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.4978, allocations: 116.3 kB / 0.5173 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.498, allocations: 150.3 kB / 0.5175 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.5032, allocations: 3.382 MB / 0.5208 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/0.5032, allocations: 18.72 kB / 0.5208 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.5034, allocations: 78.69 kB / 0.5208 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001031/0.5045, allocations: 0.6128 MB / 0.5214 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.5084, allocations: 1.862 MB / 0.5233 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.5234, allocations: 13.53 MB / 0.5365 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.5236, allocations: 169.9 kB / 0.5366 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.5236, allocations: 84.12 kB / 0.5367 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.5237, allocations: 75.28 kB / 0.5368 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.517e-05/0.5238, allocations: 117.5 kB / 0.5369 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.975e-06/0.5238, allocations: 0 / 0.5369 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003419/0.5241, allocations: 155.4 kB / 0.537 GB, free: 10.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5242, allocations: 129.2 kB / 0.5372 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.5266, allocations: 1.651 MB / 0.5388 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5267, allocations: 25.7 kB / 0.5388 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.5278, allocations: 1.366 MB / 0.5401 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.5279, allocations: 48.8 kB / 0.5402 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/0.5285, allocations: 417.7 kB / 0.5406 GB, free: 8.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5287, allocations: 362.1 kB / 0.5409 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.5292, allocations: 365.6 kB / 0.5413 GB, free: 7.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.5309, allocations: 1.934 MB / 0.5432 GB, free: 5.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.5336, allocations: 2.513 MB / 0.5456 GB, free: 2.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.5336, allocations: 14.38 kB / 0.5456 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003154/0.5367, allocations: 2.113 MB / 0.5477 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5368, allocations: 32 kB / 0.5477 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/0.5369, allocations: 60.91 kB / 0.5478 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.762e-05/0.537, allocations: 72.5 kB / 0.5479 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.538, allocations: 496.7 kB / 0.5483 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.531e-05/0.5381, allocations: 108.9 kB / 0.5484 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5397, allocations: 322.6 kB / 0.5487 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.5399, allocations: 139 kB / 0.5489 GB, free: 1.547 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.001454/0.5413, allocations: 0.8726 MB / 0.5497 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.5416, allocations: 226.5 kB / 0.5499 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.5418, allocations: 231 kB / 0.5502 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/0.5419, allocations: 180.2 kB / 0.5503 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/0.542, allocations: 179 kB / 0.5505 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.5421, allocations: 182.8 kB / 0.5507 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.5445, allocations: 1.481 MB / 0.5521 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.001e-05/0.5446, allocations: 103.6 kB / 0.5522 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.5446, allocations: 101 kB / 0.5523 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.5447, allocations: 182.7 kB / 0.5525 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.5449, allocations: 183 kB / 0.5527 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-05/0.545, allocations: 188.2 kB / 0.5529 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001064/0.5451, allocations: 178.8 kB / 0.553 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.5454, allocations: 423.8 kB / 0.5534 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.5458, allocations: 299.2 kB / 0.5537 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.5461, allocations: 183.1 kB / 0.5539 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.5464, allocations: 113 kB / 0.554 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.5465, allocations: 181.8 kB / 0.5542 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.5466, allocations: 105 kB / 0.5543 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.5481, allocations: 1.018 MB / 0.5553 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5481, allocations: 0 / 0.5553 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001916/0.55, allocations: 434.1 kB / 0.5557 GB, free: 10.81 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.0002649/0.5503, allocations: 179.4 kB / 0.5558 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.5516, allocations: 0.8954 MB / 0.5567 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5516, allocations: 4 kB / 0.5567 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.5516, allocations: 1.625 kB / 0.5567 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5526, allocations: 0.6486 MB / 0.5574 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.5579, allocations: 3.581 MB / 0.5609 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.5593, allocations: 1.576 MB / 0.5624 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001256/0.5606, allocations: 495.4 kB / 0.5629 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5607, allocations: 75.44 kB / 0.5629 GB, free: 3.453 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5607, allocations: 2.625 kB / 0.5629 GB, free: 3.453 MB / 414.1 MB Notification: Performance of Templates: time 0.01901/0.5797, allocations: 8.09 MB / 0.5708 GB, free: 11.44 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/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