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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000852/0.0008519, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.7 MB / 246.8 MB, free: 9.441 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 46.17 MB / 345.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002213/0.0002214, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09124, allocations: 63.56 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1974/0.2887, allocations: 38.84 MB / 0.5098 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.3026, allocations: 7.225 MB / 0.5168 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005132/0.3077, allocations: 161.3 kB / 0.517 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.3082, allocations: 188.1 kB / 0.5172 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008385/0.309, allocations: 439.8 kB / 0.5176 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3093, allocations: 67.98 kB / 0.5177 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.3107, allocations: 1.606 MB / 0.5192 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3129, allocations: 1.889 MB / 0.5211 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.3133, allocations: 356.8 kB / 0.5214 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.314, allocations: 0.5586 MB / 0.5219 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.3141, allocations: 44.72 kB / 0.522 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3143, allocations: 61.52 kB / 0.5221 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005934/0.3149, allocations: 0.6342 MB / 0.5227 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.3154, allocations: 0.7625 MB / 0.5234 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.317, allocations: 2.113 MB / 0.5255 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3171, allocations: 1.031 kB / 0.5255 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3171, allocations: 0 / 0.5255 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.3171, allocations: 0 / 0.5255 GB, free: 7.578 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.001541/0.3186, allocations: 1.593 MB / 0.527 GB, free: 6.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3187, allocations: 10.5 kB / 0.527 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/0.319, allocations: 329.3 kB / 0.5274 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.3194, allocations: 220.3 kB / 0.5276 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3201, allocations: 0.7188 MB / 0.5283 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.3202, allocations: 117.8 kB / 0.5284 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3203, allocations: 154.9 kB / 0.5285 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.3234, allocations: 3.382 MB / 0.5318 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.3234, allocations: 15.84 kB / 0.5318 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3235, allocations: 71.48 kB / 0.5319 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005618/0.3241, allocations: 0.6114 MB / 0.5325 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.3262, allocations: 1.861 MB / 0.5343 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008209/0.3344, allocations: 13.53 MB / 0.5475 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.3345, allocations: 169.1 kB / 0.5477 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.3345, allocations: 88.02 kB / 0.5478 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3346, allocations: 83.22 kB / 0.5479 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3346, allocations: 116.4 kB / 0.548 GB, free: 6.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.3346, allocations: 0 / 0.548 GB, free: 6.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001608/0.3348, allocations: 147.6 kB / 0.5481 GB, free: 5.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3348, allocations: 130.6 kB / 0.5482 GB, free: 5.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.3364, allocations: 1.643 MB / 0.5498 GB, free: 4.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.3364, allocations: 25.7 kB / 0.5499 GB, free: 4.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.3372, allocations: 1.367 MB / 0.5512 GB, free: 3.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3372, allocations: 42.77 kB / 0.5512 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.3374, allocations: 185 kB / 0.5514 GB, free: 3.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3375, allocations: 356.3 kB / 0.5518 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.3379, allocations: 370 kB / 0.5521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.3392, allocations: 1.928 MB / 0.554 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.3412, allocations: 2.511 MB / 0.5565 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.3412, allocations: 18.75 kB / 0.5565 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002459/0.3437, allocations: 2.115 MB / 0.5585 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.3437, allocations: 32.94 kB / 0.5586 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/0.3437, allocations: 56 kB / 0.5586 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-05/0.3438, allocations: 72 kB / 0.5587 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3448, allocations: 495 kB / 0.5592 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.185e-05/0.3449, allocations: 107.6 kB / 0.5593 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3459, allocations: 316.6 kB / 0.5596 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3461, allocations: 136 kB / 0.5597 GB, free: 11.07 MB / 414.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.0008092/0.3469, allocations: 0.8666 MB / 0.5605 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.347, allocations: 227.3 kB / 0.5608 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.3472, allocations: 224.5 kB / 0.561 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.3472, allocations: 184.2 kB / 0.5611 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-05/0.3473, allocations: 180.3 kB / 0.5613 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.59e-05/0.3474, allocations: 184.2 kB / 0.5615 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3487, allocations: 1.477 MB / 0.5629 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.3487, allocations: 108.9 kB / 0.563 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.3487, allocations: 101 kB / 0.5631 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-05/0.3488, allocations: 180.3 kB / 0.5633 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.3489, allocations: 187 kB / 0.5635 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.447e-05/0.3489, allocations: 180.3 kB / 0.5637 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.476e-05/0.349, allocations: 196.2 kB / 0.5638 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3492, allocations: 421.3 kB / 0.5642 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.3494, allocations: 304.3 kB / 0.5645 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3495, allocations: 180.5 kB / 0.5647 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3498, allocations: 108.9 kB / 0.5648 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3498, allocations: 188.3 kB / 0.565 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3499, allocations: 104.9 kB / 0.5651 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.3509, allocations: 1.01 MB / 0.5661 GB, free: 4.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.3509, allocations: 0 / 0.5661 GB, free: 4.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3522, allocations: 434.1 kB / 0.5665 GB, free: 3.875 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.0004168/0.3526, allocations: 0.9365 MB / 0.5674 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009686/0.3536, allocations: 0.8997 MB / 0.5683 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3536, allocations: 0 / 0.5683 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.3536, allocations: 4.312 kB / 0.5683 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.3543, allocations: 0.6344 MB / 0.5689 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.3684, allocations: 15.14 MB / 0.5837 GB, free: 72 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.3696, allocations: 1.583 MB / 0.5852 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.3707, allocations: 495.2 kB / 0.5857 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.3713, allocations: 0.6594 MB / 0.5864 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3713, allocations: 4 kB / 0.5864 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.4039, allocations: 20.54 MB / 0.6064 GB, free: 8.938 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.4041, allocations: 206.2 kB / 0.6066 GB, free: 8.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.294, allocations: 0.5 kB / 0.6066 GB, free: 8.676 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches