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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001454/0.001454, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2338/0.2338, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002054/0.002054, allocations: 71.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3111, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009482/0.3206, allocations: 7.667 MB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.325, allocations: 2.186 MB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.3257, allocations: 47.88 kB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.3286, allocations: 1.491 MB / 0.5717 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3297, allocations: 489.3 kB / 0.5722 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.33, allocations: 71.84 kB / 0.5723 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3311, allocations: 0.9294 MB / 0.5732 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.3324, allocations: 1.197 MB / 0.5743 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.333, allocations: 0.5372 MB / 0.5749 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009379/0.334, allocations: 0.6652 MB / 0.5755 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.3342, allocations: 116 kB / 0.5756 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.3345, allocations: 123.9 kB / 0.5758 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.3352, allocations: 0.7478 MB / 0.5765 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.3358, allocations: 0.6405 MB / 0.5771 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.3382, allocations: 2.349 MB / 0.5794 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3382, allocations: 0 / 0.5794 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3382, allocations: 0 / 0.5794 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.3382, allocations: 0 / 0.5794 GB, free: 0.8789 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.002503/0.3407, allocations: 1.923 MB / 0.5813 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3408, allocations: 8.031 kB / 0.5813 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003431/0.3411, allocations: 330.5 kB / 0.5816 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005677/0.3417, allocations: 231.4 kB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.3429, allocations: 0.6624 MB / 0.5825 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.343, allocations: 120.1 kB / 0.5826 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.3432, allocations: 144 kB / 0.5827 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/0.3473, allocations: 3.394 MB / 0.586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.3474, allocations: 11.88 kB / 0.586 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.3475, allocations: 71.94 kB / 0.5861 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007228/0.3482, allocations: 0.6227 MB / 0.5867 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.3511, allocations: 1.862 MB / 0.5885 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3627, allocations: 12.97 MB / 0.6012 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3628, allocations: 173.1 kB / 0.6014 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.3629, allocations: 80.14 kB / 0.6014 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3629, allocations: 75.28 kB / 0.6015 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.363, allocations: 109.8 kB / 0.6016 GB, free: 9.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.854e-06/0.363, allocations: 0 / 0.6016 GB, free: 9.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002239/0.3632, allocations: 160.8 kB / 0.6018 GB, free: 9.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.3633, allocations: 134.7 kB / 0.6019 GB, free: 8.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.3653, allocations: 1.747 MB / 0.6036 GB, free: 7.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3653, allocations: 25.7 kB / 0.6036 GB, free: 7.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009959/0.3663, allocations: 1.416 MB / 0.605 GB, free: 5.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3663, allocations: 43.95 kB / 0.6051 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.3668, allocations: 423.2 kB / 0.6055 GB, free: 5.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3669, allocations: 365.8 kB / 0.6058 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.3675, allocations: 371.8 kB / 0.6062 GB, free: 4.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.3692, allocations: 1.925 MB / 0.608 GB, free: 1.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/0.3718, allocations: 2.511 MB / 0.6105 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.3718, allocations: 16 kB / 0.6105 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00311/0.3749, allocations: 2.115 MB / 0.6126 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.375, allocations: 35.92 kB / 0.6126 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/0.375, allocations: 56 kB / 0.6127 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.129e-05/0.3751, allocations: 76 kB / 0.6127 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3762, allocations: 491.7 kB / 0.6132 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.829e-05/0.3763, allocations: 111.6 kB / 0.6133 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3776, allocations: 329.5 kB / 0.6136 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.3777, allocations: 136 kB / 0.6138 GB, free: 11.12 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.001018/0.3787, allocations: 0.8628 MB / 0.6146 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.3789, allocations: 232 kB / 0.6148 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.3791, allocations: 236.2 kB / 0.615 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-05/0.3792, allocations: 184.3 kB / 0.6152 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.435e-05/0.3792, allocations: 180.3 kB / 0.6154 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.042e-05/0.3793, allocations: 180.3 kB / 0.6156 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3808, allocations: 1.422 MB / 0.617 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-05/0.3809, allocations: 105 kB / 0.6171 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.3809, allocations: 104.9 kB / 0.6172 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-05/0.381, allocations: 184.2 kB / 0.6173 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.3811, allocations: 180.2 kB / 0.6175 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.138e-05/0.3812, allocations: 180.2 kB / 0.6177 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-05/0.3812, allocations: 184.3 kB / 0.6179 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3815, allocations: 445.9 kB / 0.6183 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.3818, allocations: 220.1 kB / 0.6185 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.382, allocations: 184.2 kB / 0.6187 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.3822, allocations: 105 kB / 0.6188 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.3823, allocations: 188.2 kB / 0.6189 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.3824, allocations: 101 kB / 0.619 GB, free: 5.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.3836, allocations: 1.01 MB / 0.62 GB, free: 4.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 0.62 GB, free: 4.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00144/0.3851, allocations: 438.6 kB / 0.6204 GB, free: 4.059 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.0005912/0.3857, allocations: 0.9445 MB / 0.6214 GB, free: 3.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.3869, allocations: 0.8676 MB / 0.6222 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3869, allocations: 0 / 0.6222 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/0.3869, allocations: 4 kB / 0.6222 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/0.3877, allocations: 0.5802 MB / 0.6228 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.4046, allocations: 13.59 MB / 0.6361 GB, free: 2.262 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.4058, allocations: 0.9923 MB / 0.637 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.407, allocations: 0.4914 MB / 0.6375 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.4077, allocations: 0.6594 MB / 0.6382 GB, free: 72 kB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4077, allocations: 0 / 0.6382 GB, free: 72 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.4623, allocations: 22.28 MB / 0.6599 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.53, allocations: 7.75 kB / 0.6599 GB, free: 10.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.655486095696688]