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.001625/0.001625, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 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.2333/0.2333, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3466, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009497/0.3561, allocations: 8.689 MB / 0.539 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005353/0.3616, allocations: 2.291 MB / 0.5412 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3631, allocations: 41.81 kB / 0.5413 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.3666, allocations: 1.545 MB / 0.5428 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.3684, allocations: 491.9 kB / 0.5432 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.3688, allocations: 67.47 kB / 0.5433 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.3706, allocations: 0.9312 MB / 0.5442 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.3728, allocations: 1.496 MB / 0.5457 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.374, allocations: 0.5353 MB / 0.5462 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.3754, allocations: 0.6794 MB / 0.5469 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.3758, allocations: 116 kB / 0.547 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.3764, allocations: 135.8 kB / 0.5471 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009181/0.3774, allocations: 0.7247 MB / 0.5478 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.3788, allocations: 0.8581 MB / 0.5486 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.3818, allocations: 2.322 MB / 0.5509 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3819, allocations: 0 / 0.5509 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3819, allocations: 0 / 0.5509 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.382, allocations: 0 / 0.5509 GB, free: 12.81 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.003885/0.3859, allocations: 1.999 MB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.386, allocations: 8.031 kB / 0.5529 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004882/0.3865, allocations: 338.5 kB / 0.5532 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.3871, allocations: 227.4 kB / 0.5534 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3883, allocations: 0.719 MB / 0.5541 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.3884, allocations: 111.4 kB / 0.5542 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.3886, allocations: 151.9 kB / 0.5544 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.3928, allocations: 3.383 MB / 0.5577 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.3929, allocations: 15.88 kB / 0.5577 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.393, allocations: 75.92 kB / 0.5578 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006853/0.3937, allocations: 0.6149 MB / 0.5584 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.3966, allocations: 1.862 MB / 0.5602 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.4081, allocations: 13.52 MB / 0.5734 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.4082, allocations: 169.1 kB / 0.5735 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.4083, allocations: 84.08 kB / 0.5736 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4083, allocations: 79.28 kB / 0.5737 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.4084, allocations: 113.8 kB / 0.5738 GB, free: 4.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.4084, allocations: 4 kB / 0.5738 GB, free: 4.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002768/0.4087, allocations: 152.8 kB / 0.574 GB, free: 4.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4087, allocations: 130.7 kB / 0.5741 GB, free: 4.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4107, allocations: 1.647 MB / 0.5757 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4107, allocations: 25.7 kB / 0.5757 GB, free: 2.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/0.4116, allocations: 1.419 MB / 0.5771 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.4116, allocations: 43.95 kB / 0.5771 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.412, allocations: 431.1 kB / 0.5776 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4122, allocations: 357.9 kB / 0.5779 GB, free: 228 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.4127, allocations: 371.8 kB / 0.5783 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.4141, allocations: 1.925 MB / 0.5801 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.4165, allocations: 2.515 MB / 0.5826 GB, free: 9.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-05/0.4165, allocations: 16 kB / 0.5826 GB, free: 9.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003391/0.4199, allocations: 2.119 MB / 0.5847 GB, free: 7.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.42, allocations: 28 kB / 0.5847 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-05/0.4201, allocations: 60 kB / 0.5848 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.768e-05/0.4202, allocations: 72 kB / 0.5848 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4213, allocations: 483.7 kB / 0.5853 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.913e-05/0.4214, allocations: 111.6 kB / 0.5854 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4229, allocations: 333.5 kB / 0.5857 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.4231, allocations: 144 kB / 0.5858 GB, free: 6.449 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.001043/0.4241, allocations: 0.8549 MB / 0.5867 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4244, allocations: 244 kB / 0.5869 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.4246, allocations: 232.2 kB / 0.5871 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/0.4246, allocations: 180.3 kB / 0.5873 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/0.4247, allocations: 184.3 kB / 0.5875 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/0.4247, allocations: 180.2 kB / 0.5877 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.4264, allocations: 1.477 MB / 0.5891 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.4265, allocations: 112.9 kB / 0.5892 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.4265, allocations: 105 kB / 0.5893 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-05/0.4266, allocations: 176.3 kB / 0.5895 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.4266, allocations: 188.1 kB / 0.5897 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-05/0.4267, allocations: 184.3 kB / 0.5898 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.637e-05/0.4268, allocations: 184.2 kB / 0.59 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.427, allocations: 426 kB / 0.5904 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.4273, allocations: 305.2 kB / 0.5907 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4275, allocations: 176.3 kB / 0.5909 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.4278, allocations: 112.9 kB / 0.591 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4278, allocations: 188.2 kB / 0.5912 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.4279, allocations: 105 kB / 0.5913 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.4292, allocations: 1.014 MB / 0.5922 GB, free: 15.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4292, allocations: 0 / 0.5922 GB, free: 15.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001761/0.431, allocations: 434.7 kB / 0.5927 GB, free: 15.23 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.0005638/0.4315, allocations: 0.9407 MB / 0.5936 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.433, allocations: 0.8996 MB / 0.5945 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4331, allocations: 0 / 0.5945 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.4331, allocations: 3.938 kB / 0.5945 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.434, allocations: 0.58 MB / 0.595 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.452, allocations: 13.59 MB / 0.6083 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.4538, allocations: 1.575 MB / 0.6098 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.455, allocations: 491.2 kB / 0.6103 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/0.4559, allocations: 0.6711 MB / 0.611 GB, free: 10.64 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4559, allocations: 0 / 0.611 GB, free: 10.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.508, allocations: 21.64 MB / 0.6321 GB, free: 5.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.76, allocations: 22.38 kB / 0.6321 GB, free: 5.117 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