Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.95 MB / 360.9 MB, free: 4.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01079/0.3281, allocations: 7.663 MB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3343, allocations: 2.186 MB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.3357, allocations: 43.88 kB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005032/0.3407, allocations: 1.499 MB / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.3429, allocations: 493.3 kB / 0.5722 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.3433, allocations: 71.84 kB / 0.5723 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.3454, allocations: 0.9254 MB / 0.5732 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.3478, allocations: 1.197 MB / 0.5743 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3489, allocations: 0.5411 MB / 0.5749 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.3505, allocations: 0.6575 MB / 0.5755 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004058/0.3509, allocations: 120 kB / 0.5756 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.3514, allocations: 123.9 kB / 0.5757 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.3526, allocations: 0.7439 MB / 0.5765 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.3538, allocations: 0.6405 MB / 0.5771 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.3578, allocations: 2.349 MB / 0.5794 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3578, allocations: 0 / 0.5794 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3578, allocations: 0 / 0.5794 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.604e-05/0.3579, allocations: 0 / 0.5794 GB, free: 0.8984 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.004357/0.3622, allocations: 1.924 MB / 0.5813 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3623, allocations: 12.03 kB / 0.5813 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004184/0.3627, allocations: 334.5 kB / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.3633, allocations: 219.4 kB / 0.5818 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.3647, allocations: 0.6664 MB / 0.5825 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3648, allocations: 111.4 kB / 0.5826 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.365, allocations: 151.9 kB / 0.5827 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.3699, allocations: 3.391 MB / 0.586 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.3699, allocations: 15.88 kB / 0.586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.3701, allocations: 75.92 kB / 0.5861 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007877/0.3708, allocations: 0.6187 MB / 0.5867 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.374, allocations: 1.862 MB / 0.5885 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.3884, allocations: 12.97 MB / 0.6012 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3885, allocations: 173.1 kB / 0.6014 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.3885, allocations: 88.08 kB / 0.6014 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.3886, allocations: 79.28 kB / 0.6015 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/0.3886, allocations: 105.8 kB / 0.6016 GB, free: 9.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.562e-06/0.3886, allocations: 0 / 0.6016 GB, free: 9.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000245/0.3889, allocations: 152.9 kB / 0.6018 GB, free: 9.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.389, allocations: 130.7 kB / 0.6019 GB, free: 8.961 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.3913, allocations: 1.751 MB / 0.6036 GB, free: 7.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3914, allocations: 25.7 kB / 0.6036 GB, free: 7.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.3925, allocations: 1.416 MB / 0.605 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.3925, allocations: 47.95 kB / 0.6051 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.393, allocations: 423.2 kB / 0.6055 GB, free: 5.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3932, allocations: 357.9 kB / 0.6058 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.3937, allocations: 371.8 kB / 0.6062 GB, free: 4.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.396, allocations: 1.929 MB / 0.608 GB, free: 1.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.3991, allocations: 2.511 MB / 0.6105 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.3992, allocations: 16 kB / 0.6105 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003665/0.4028, allocations: 2.116 MB / 0.6126 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.4029, allocations: 36.03 kB / 0.6126 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-05/0.4029, allocations: 56 kB / 0.6127 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.368e-05/0.403, allocations: 72 kB / 0.6127 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4042, allocations: 491 kB / 0.6132 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.635e-05/0.4043, allocations: 111.6 kB / 0.6133 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4056, allocations: 329.5 kB / 0.6136 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.4059, allocations: 140 kB / 0.6138 GB, free: 11.13 MB / 462.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.001206/0.4071, allocations: 0.8666 MB / 0.6146 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4073, allocations: 232.1 kB / 0.6148 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4075, allocations: 228.2 kB / 0.615 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000167/0.4077, allocations: 188.2 kB / 0.6152 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/0.4078, allocations: 180.3 kB / 0.6154 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.949e-05/0.4078, allocations: 180.2 kB / 0.6156 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.4095, allocations: 1.422 MB / 0.617 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/0.4095, allocations: 109 kB / 0.6171 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.4096, allocations: 108.9 kB / 0.6172 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-05/0.4097, allocations: 180.3 kB / 0.6173 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.4099, allocations: 184.2 kB / 0.6175 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.4099, allocations: 176.3 kB / 0.6177 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.645e-05/0.41, allocations: 176.3 kB / 0.6178 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.4104, allocations: 445.9 kB / 0.6183 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.4107, allocations: 224.1 kB / 0.6185 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.4109, allocations: 184.2 kB / 0.6187 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.4112, allocations: 105 kB / 0.6188 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.4113, allocations: 180.2 kB / 0.6189 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.4113, allocations: 105 kB / 0.619 GB, free: 5.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.4127, allocations: 1.018 MB / 0.62 GB, free: 4.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4127, allocations: 4 kB / 0.62 GB, free: 4.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00156/0.4142, allocations: 426.7 kB / 0.6204 GB, free: 4.078 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.0006941/0.4149, allocations: 0.9484 MB / 0.6214 GB, free: 3.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4163, allocations: 0.8718 MB / 0.6222 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4163, allocations: 0 / 0.6222 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.4163, allocations: 0.8125 kB / 0.6222 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.4172, allocations: 0.5895 MB / 0.6228 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.4351, allocations: 13.59 MB / 0.6361 GB, free: 2.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.4364, allocations: 0.9885 MB / 0.637 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001125/0.4375, allocations: 0.4914 MB / 0.6375 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.4383, allocations: 0.6594 MB / 0.6381 GB, free: 92 kB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4383, allocations: 4 kB / 0.6381 GB, free: 88 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05635/0.4947, allocations: 22.28 MB / 0.6599 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.57, allocations: 12.75 kB / 0.6599 GB, free: 10.12 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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.00019992 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.683692405000329]