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.001861/0.001861, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3209, allocations: 62.45 MB / 0.5306 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01112/0.3321, allocations: 8.692 MB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.3384, allocations: 2.287 MB / 0.5413 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3398, allocations: 42.28 kB / 0.5413 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.3433, allocations: 1.541 MB / 0.5429 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.3451, allocations: 463 kB / 0.5433 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3455, allocations: 75.77 kB / 0.5434 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.347, allocations: 0.9305 MB / 0.5443 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.3488, allocations: 1.499 MB / 0.5457 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.3495, allocations: 0.5426 MB / 0.5463 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.3504, allocations: 0.6733 MB / 0.5469 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.3506, allocations: 123.9 kB / 0.547 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.3509, allocations: 123.9 kB / 0.5472 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.3516, allocations: 0.7285 MB / 0.5479 GB, free: 80 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.3524, allocations: 0.8503 MB / 0.5487 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.3548, allocations: 2.332 MB / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3548, allocations: 0 / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3548, allocations: 4 kB / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.3549, allocations: 0 / 0.551 GB, free: 12.88 MB / 414.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.002723/0.3576, allocations: 1.995 MB / 0.5529 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3577, allocations: 8.031 kB / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003569/0.358, allocations: 330.5 kB / 0.5533 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.3586, allocations: 227.4 kB / 0.5535 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3597, allocations: 0.7229 MB / 0.5542 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.3598, allocations: 115.4 kB / 0.5543 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.36, allocations: 155.9 kB / 0.5544 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.3641, allocations: 3.379 MB / 0.5577 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.3642, allocations: 11.88 kB / 0.5578 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.3643, allocations: 75.94 kB / 0.5578 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007569/0.3651, allocations: 0.6149 MB / 0.5584 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.3682, allocations: 1.862 MB / 0.5602 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.3809, allocations: 13.52 MB / 0.5734 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.381, allocations: 169.1 kB / 0.5736 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.3811, allocations: 88.08 kB / 0.5737 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3811, allocations: 75.28 kB / 0.5738 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.3812, allocations: 105.8 kB / 0.5739 GB, free: 4.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.3812, allocations: 0 / 0.5739 GB, free: 4.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002469/0.3815, allocations: 156.8 kB / 0.574 GB, free: 4.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.3815, allocations: 130.6 kB / 0.5741 GB, free: 4.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.3836, allocations: 1.655 MB / 0.5758 GB, free: 2.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3836, allocations: 29.7 kB / 0.5758 GB, free: 2.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.3847, allocations: 1.412 MB / 0.5772 GB, free: 1.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.3847, allocations: 43.95 kB / 0.5772 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.3852, allocations: 435.1 kB / 0.5776 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3854, allocations: 353.9 kB / 0.578 GB, free: 308 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.3859, allocations: 371.8 kB / 0.5783 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.3878, allocations: 1.933 MB / 0.5802 GB, free: 13.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.3908, allocations: 2.507 MB / 0.5826 GB, free: 9.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/0.3908, allocations: 16 kB / 0.5827 GB, free: 9.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003495/0.3943, allocations: 2.127 MB / 0.5847 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.3944, allocations: 32.06 kB / 0.5848 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-05/0.3945, allocations: 56 kB / 0.5848 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.371e-05/0.3945, allocations: 76 kB / 0.5849 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3957, allocations: 483.1 kB / 0.5854 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.942e-05/0.3958, allocations: 107.6 kB / 0.5855 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3972, allocations: 329.5 kB / 0.5858 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.3974, allocations: 136 kB / 0.5859 GB, free: 6.531 MB / 446.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.001153/0.3985, allocations: 0.8666 MB / 0.5868 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.3987, allocations: 232.1 kB / 0.587 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3989, allocations: 232.2 kB / 0.5872 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-05/0.399, allocations: 184.3 kB / 0.5874 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.973e-05/0.3991, allocations: 188.3 kB / 0.5875 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-05/0.3992, allocations: 180.2 kB / 0.5877 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.4009, allocations: 1.477 MB / 0.5892 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-05/0.401, allocations: 101 kB / 0.5893 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.401, allocations: 104.9 kB / 0.5894 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.479e-05/0.4011, allocations: 192.2 kB / 0.5895 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.4012, allocations: 184.2 kB / 0.5897 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-05/0.4013, allocations: 180.2 kB / 0.5899 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-05/0.4014, allocations: 180.2 kB / 0.5901 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4017, allocations: 434 kB / 0.5905 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.402, allocations: 305.2 kB / 0.5908 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4022, allocations: 180.3 kB / 0.5909 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.4025, allocations: 108.9 kB / 0.591 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.4026, allocations: 180.2 kB / 0.5912 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.4026, allocations: 109 kB / 0.5913 GB, free: 0.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.404, allocations: 1.014 MB / 0.5923 GB, free: 15.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.404, allocations: 4 kB / 0.5923 GB, free: 15.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001632/0.4056, allocations: 434.7 kB / 0.5927 GB, free: 15.31 MB / 462.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.000653/0.4063, allocations: 0.9406 MB / 0.5936 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.4078, allocations: 0.9035 MB / 0.5945 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4078, allocations: 0 / 0.5945 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.4078, allocations: 3.984 kB / 0.5945 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.4086, allocations: 0.5755 MB / 0.5951 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.4274, allocations: 13.58 MB / 0.6084 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.4289, allocations: 1.572 MB / 0.6099 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.43, allocations: 499.2 kB / 0.6104 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/0.4307, allocations: 0.6672 MB / 0.611 GB, free: 10.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4307, allocations: 0 / 0.611 GB, free: 10.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/0.4824, allocations: 21.65 MB / 0.6322 GB, free: 5.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.37, allocations: 11.53 kB / 0.6322 GB, free: 5.199 MB / 494.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/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