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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.257/0.257, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3136, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01048/0.3241, allocations: 8.752 MB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.3289, allocations: 2.311 MB / 0.5716 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.3297, allocations: 47.88 kB / 0.5716 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.3329, allocations: 1.561 MB / 0.5731 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3343, allocations: 493.3 kB / 0.5736 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3347, allocations: 71.84 kB / 0.5737 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.3362, allocations: 0.9254 MB / 0.5746 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.3378, allocations: 1.213 MB / 0.5758 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.3387, allocations: 0.5411 MB / 0.5763 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.3398, allocations: 0.7238 MB / 0.577 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.34, allocations: 120 kB / 0.5771 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.3403, allocations: 123.9 kB / 0.5772 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007517/0.3411, allocations: 0.7516 MB / 0.578 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009602/0.342, allocations: 0.8502 MB / 0.5788 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.345, allocations: 2.325 MB / 0.5811 GB, free: 15.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.345, allocations: 0 / 0.5811 GB, free: 15.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.345, allocations: 0 / 0.5811 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.799e-05/0.3451, allocations: 4 kB / 0.5811 GB, free: 15.36 MB / 430.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.00312/0.3482, allocations: 1.924 MB / 0.5829 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3482, allocations: 8.031 kB / 0.5829 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000392/0.3486, allocations: 330.5 kB / 0.5833 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/0.3492, allocations: 227.4 kB / 0.5835 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.3506, allocations: 0.6625 MB / 0.5841 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3507, allocations: 119.3 kB / 0.5842 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.3509, allocations: 151.9 kB / 0.5844 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004798/0.3557, allocations: 3.375 MB / 0.5877 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.3557, allocations: 15.88 kB / 0.5877 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.3559, allocations: 71.94 kB / 0.5878 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008135/0.3567, allocations: 0.6188 MB / 0.5884 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.3603, allocations: 1.862 MB / 0.5902 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.3751, allocations: 13.44 MB / 0.6033 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3752, allocations: 169.1 kB / 0.6035 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.3752, allocations: 92.08 kB / 0.6036 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.3753, allocations: 75.28 kB / 0.6036 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/0.3753, allocations: 105.8 kB / 0.6037 GB, free: 7.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.3753, allocations: 0 / 0.6037 GB, free: 7.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002935/0.3756, allocations: 152.9 kB / 0.6039 GB, free: 7.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.3757, allocations: 126.7 kB / 0.604 GB, free: 6.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.3781, allocations: 1.659 MB / 0.6056 GB, free: 5.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3781, allocations: 29.7 kB / 0.6056 GB, free: 5.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.3794, allocations: 1.416 MB / 0.607 GB, free: 3.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.3794, allocations: 43.95 kB / 0.6071 GB, free: 3.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.38, allocations: 427.1 kB / 0.6075 GB, free: 3.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3802, allocations: 357.9 kB / 0.6078 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.3808, allocations: 379.8 kB / 0.6082 GB, free: 2.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.3828, allocations: 1.925 MB / 0.6101 GB, free: 15.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.3857, allocations: 2.515 MB / 0.6125 GB, free: 12.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-05/0.3858, allocations: 16 kB / 0.6125 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003782/0.3895, allocations: 2.116 MB / 0.6146 GB, free: 10.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.3896, allocations: 36.03 kB / 0.6146 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-05/0.3897, allocations: 59.94 kB / 0.6147 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.979e-05/0.3897, allocations: 72 kB / 0.6148 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3909, allocations: 491 kB / 0.6152 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.762e-05/0.391, allocations: 107.6 kB / 0.6153 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.3925, allocations: 325.5 kB / 0.6156 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3927, allocations: 140 kB / 0.6158 GB, free: 9.23 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.001285/0.394, allocations: 0.8718 MB / 0.6166 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.3942, allocations: 232.1 kB / 0.6168 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.3944, allocations: 228.2 kB / 0.6171 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.368e-05/0.3945, allocations: 184.3 kB / 0.6172 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.222e-05/0.3946, allocations: 184.3 kB / 0.6174 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.384e-05/0.3947, allocations: 184.2 kB / 0.6176 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3964, allocations: 1.445 MB / 0.619 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.343e-05/0.3965, allocations: 113 kB / 0.6191 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.3965, allocations: 104.9 kB / 0.6192 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.103e-05/0.3966, allocations: 180.2 kB / 0.6194 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.3967, allocations: 188.2 kB / 0.6196 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.161e-05/0.3968, allocations: 176.3 kB / 0.6197 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-05/0.3969, allocations: 180.2 kB / 0.6199 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3972, allocations: 437.9 kB / 0.6203 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.3975, allocations: 228 kB / 0.6205 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.3977, allocations: 180.3 kB / 0.6207 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.398, allocations: 101 kB / 0.6208 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.3981, allocations: 180.2 kB / 0.621 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.3981, allocations: 101 kB / 0.6211 GB, free: 3.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.3995, allocations: 1.022 MB / 0.6221 GB, free: 2.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3995, allocations: 0 / 0.6221 GB, free: 2.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001617/0.4011, allocations: 434.7 kB / 0.6225 GB, free: 2.145 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.0006203/0.4018, allocations: 0.9406 MB / 0.6234 GB, free: 1.176 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.4031, allocations: 0.8685 MB / 0.6243 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4031, allocations: 0 / 0.6243 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.4031, allocations: 0 / 0.6243 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.4039, allocations: 0.5854 MB / 0.6248 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.4216, allocations: 13.59 MB / 0.6381 GB, free: 364 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.4231, allocations: 1.579 MB / 0.6396 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.4242, allocations: 499.2 kB / 0.6401 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007601/0.425, allocations: 0.6672 MB / 0.6408 GB, free: 13.58 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.425, allocations: 0 / 0.6408 GB, free: 13.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.4852, allocations: 23.37 MB / 0.6636 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/14.89, allocations: 7.984 kB / 0.6636 GB, free: 6.344 MB / 0.4981 GB " [Timeout remaining time 645] (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.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 18.006528022000566]