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.001296/0.001296, allocations: 111 kB / 20.48 MB, free: 1.273 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.001337/0.001337, allocations: 217.8 kB / 23.78 MB, free: 4.441 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.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.715 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.2401/0.2401, allocations: 46.95 MB / 360.9 MB, free: 3.879 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.002329/0.002329, allocations: 75.88 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3309, allocations: 66.09 MB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009681/0.3406, allocations: 7.655 MB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.3453, allocations: 2.19 MB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.3459, allocations: 47.88 kB / 0.5704 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.3488, allocations: 1.484 MB / 0.5719 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.3497, allocations: 0.4895 MB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3499, allocations: 67.91 kB / 0.5724 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009921/0.3509, allocations: 0.9254 MB / 0.5733 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.3523, allocations: 1.209 MB / 0.5745 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.3528, allocations: 0.5411 MB / 0.575 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.3537, allocations: 0.6535 MB / 0.5757 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.3539, allocations: 116 kB / 0.5758 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3542, allocations: 120 kB / 0.5759 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.3548, allocations: 0.7478 MB / 0.5766 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.3555, allocations: 0.6405 MB / 0.5773 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.3577, allocations: 2.345 MB / 0.5795 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3577, allocations: 4 kB / 0.5795 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3577, allocations: 0 / 0.5795 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.3577, allocations: 0 / 0.5795 GB, free: 0.6289 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.00254/0.3603, allocations: 1.928 MB / 0.5814 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3603, allocations: 8.031 kB / 0.5814 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/0.3607, allocations: 338.5 kB / 0.5818 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/0.3612, allocations: 227.4 kB / 0.582 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3624, allocations: 0.6586 MB / 0.5826 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.3625, allocations: 115.4 kB / 0.5827 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3627, allocations: 155.8 kB / 0.5829 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.3667, allocations: 3.387 MB / 0.5862 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.3667, allocations: 11.88 kB / 0.5862 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3668, allocations: 75.94 kB / 0.5863 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007086/0.3676, allocations: 0.6226 MB / 0.5869 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.3704, allocations: 1.854 MB / 0.5887 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.3831, allocations: 12.98 MB / 0.6014 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3832, allocations: 169.1 kB / 0.6015 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.3833, allocations: 84.08 kB / 0.6016 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.3833, allocations: 75.28 kB / 0.6017 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.3834, allocations: 109.8 kB / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.3834, allocations: 0 / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002704/0.3836, allocations: 160.8 kB / 0.6019 GB, free: 8.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.3837, allocations: 126.7 kB / 0.6021 GB, free: 8.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.3858, allocations: 1.747 MB / 0.6038 GB, free: 6.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3858, allocations: 29.64 kB / 0.6038 GB, free: 6.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.3868, allocations: 1.412 MB / 0.6052 GB, free: 5.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.3869, allocations: 47.95 kB / 0.6052 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.3874, allocations: 427.2 kB / 0.6056 GB, free: 4.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3875, allocations: 353.9 kB / 0.606 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.3881, allocations: 375.8 kB / 0.6063 GB, free: 4.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.3899, allocations: 1.929 MB / 0.6082 GB, free: 1.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.3926, allocations: 2.503 MB / 0.6106 GB, free: 14.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/0.3926, allocations: 20 kB / 0.6107 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003322/0.3959, allocations: 2.123 MB / 0.6127 GB, free: 12.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.396, allocations: 31.98 kB / 0.6128 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.752e-05/0.396, allocations: 60 kB / 0.6128 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-05/0.3961, allocations: 76 kB / 0.6129 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3973, allocations: 483.1 kB / 0.6134 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-05/0.3974, allocations: 119.5 kB / 0.6135 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.3987, allocations: 329.5 kB / 0.6138 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.3989, allocations: 136 kB / 0.6139 GB, free: 10.85 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.001092/0.4, allocations: 0.8709 MB / 0.6148 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.4002, allocations: 228.1 kB / 0.615 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.4004, allocations: 244 kB / 0.6152 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/0.4005, allocations: 176.3 kB / 0.6154 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.077e-05/0.4005, allocations: 184.2 kB / 0.6156 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/0.4006, allocations: 180.3 kB / 0.6157 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.4023, allocations: 1.422 MB / 0.6171 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/0.4023, allocations: 108.9 kB / 0.6172 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.4024, allocations: 105 kB / 0.6173 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.4024, allocations: 188.2 kB / 0.6175 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.4025, allocations: 176.3 kB / 0.6177 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.181e-05/0.4026, allocations: 180.3 kB / 0.6178 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.811e-05/0.4027, allocations: 180.2 kB / 0.618 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.403, allocations: 445.9 kB / 0.6184 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.4033, allocations: 216.1 kB / 0.6186 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4035, allocations: 180.3 kB / 0.6188 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4038, allocations: 108.9 kB / 0.6189 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.4039, allocations: 184.3 kB / 0.6191 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.4039, allocations: 104.9 kB / 0.6192 GB, free: 5.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.4053, allocations: 1.014 MB / 0.6202 GB, free: 4.211 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 0.6202 GB, free: 4.211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001687/0.4069, allocations: 430.7 kB / 0.6206 GB, free: 3.789 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.0006464/0.4076, allocations: 0.9407 MB / 0.6215 GB, free: 2.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.409, allocations: 0.8725 MB / 0.6224 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.409, allocations: 4.062 kB / 0.6224 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.409, allocations: 3.938 kB / 0.6224 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.4098, allocations: 0.5713 MB / 0.6229 GB, free: 1.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.4271, allocations: 13.59 MB / 0.6362 GB, free: 1.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4284, allocations: 0.9924 MB / 0.6372 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.4296, allocations: 499.2 kB / 0.6377 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.4304, allocations: 0.6672 MB / 0.6383 GB, free: 15.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4304, allocations: 0 / 0.6383 GB, free: 15.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/0.486, allocations: 22.3 MB / 0.6601 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.72, allocations: 8.062 kB / 0.6601 GB, free: 9.758 MB / 0.4981 GB " [Timeout remaining time 647] (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: 15.813601910002035]