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.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001736/0.001736, allocations: 201 kB / 23.73 MB, free: 4.379 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2224/0.2224, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.001963/0.001963, allocations: 71.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 66.03 MB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00921/0.3231, allocations: 7.659 MB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.3273, allocations: 2.186 MB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.3277, allocations: 47.88 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.3305, allocations: 1.487 MB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008734/0.3314, allocations: 493.3 kB / 0.5722 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3316, allocations: 71.84 kB / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009663/0.3326, allocations: 0.9332 MB / 0.5732 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.334, allocations: 1.205 MB / 0.5744 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.3346, allocations: 0.545 MB / 0.5749 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.3355, allocations: 0.72 MB / 0.5756 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.3357, allocations: 116 kB / 0.5757 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.336, allocations: 127.9 kB / 0.5758 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.3366, allocations: 0.7478 MB / 0.5766 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.3373, allocations: 0.6405 MB / 0.5772 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.3395, allocations: 2.349 MB / 0.5795 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3395, allocations: 0 / 0.5795 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3395, allocations: 0 / 0.5795 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.883e-05/0.3395, allocations: 0 / 0.5795 GB, free: 0.7539 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.003129/0.3427, allocations: 1.928 MB / 0.5814 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3427, allocations: 8.031 kB / 0.5814 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003562/0.3431, allocations: 338.5 kB / 0.5817 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005555/0.3436, allocations: 223.4 kB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3449, allocations: 0.6586 MB / 0.5825 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.345, allocations: 119.4 kB / 0.5827 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.3452, allocations: 151.9 kB / 0.5828 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.3492, allocations: 3.387 MB / 0.5861 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.3492, allocations: 11.88 kB / 0.5861 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.3493, allocations: 79.92 kB / 0.5862 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000729/0.3501, allocations: 0.6149 MB / 0.5868 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.3531, allocations: 1.858 MB / 0.5886 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.3663, allocations: 12.97 MB / 0.6013 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3665, allocations: 173.1 kB / 0.6014 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.3665, allocations: 84.08 kB / 0.6015 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.3666, allocations: 75.28 kB / 0.6016 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.3666, allocations: 109.8 kB / 0.6017 GB, free: 9.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.3666, allocations: 0 / 0.6017 GB, free: 9.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002996/0.3669, allocations: 152.9 kB / 0.6018 GB, free: 8.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.367, allocations: 134.7 kB / 0.602 GB, free: 8.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3693, allocations: 1.747 MB / 0.6037 GB, free: 7.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3693, allocations: 25.7 kB / 0.6037 GB, free: 7.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3703, allocations: 1.412 MB / 0.6051 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3703, allocations: 47.95 kB / 0.6051 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.3708, allocations: 427.1 kB / 0.6055 GB, free: 5.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.371, allocations: 361.9 kB / 0.6059 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.3715, allocations: 367.8 kB / 0.6062 GB, free: 4.406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.3736, allocations: 1.929 MB / 0.6081 GB, free: 1.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.377, allocations: 2.515 MB / 0.6106 GB, free: 14.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.234e-05/0.3771, allocations: 20 kB / 0.6106 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003711/0.3808, allocations: 2.115 MB / 0.6127 GB, free: 12.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.3808, allocations: 28 kB / 0.6127 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.636e-05/0.3809, allocations: 56 kB / 0.6127 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.072e-05/0.381, allocations: 76.72 kB / 0.6128 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3821, allocations: 494.9 kB / 0.6133 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.09e-05/0.3822, allocations: 119.6 kB / 0.6134 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3836, allocations: 325.5 kB / 0.6137 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.3837, allocations: 140 kB / 0.6138 GB, free: 10.98 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.001103/0.3848, allocations: 0.8705 MB / 0.6147 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.385, allocations: 228.1 kB / 0.6149 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3852, allocations: 232.2 kB / 0.6151 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.809e-05/0.3853, allocations: 184.3 kB / 0.6153 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.711e-05/0.3854, allocations: 180.3 kB / 0.6155 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-05/0.3855, allocations: 180.3 kB / 0.6156 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.3873, allocations: 1.426 MB / 0.617 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.379e-05/0.3874, allocations: 105 kB / 0.6171 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3874, allocations: 108.9 kB / 0.6172 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.3875, allocations: 180.3 kB / 0.6174 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.3876, allocations: 180.2 kB / 0.6176 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.3877, allocations: 180.3 kB / 0.6178 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.998e-05/0.3877, allocations: 176.3 kB / 0.6179 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.388, allocations: 449.9 kB / 0.6184 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.3884, allocations: 220.1 kB / 0.6186 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3886, allocations: 184.2 kB / 0.6187 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.3889, allocations: 101 kB / 0.6188 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.389, allocations: 184.2 kB / 0.619 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.389, allocations: 105 kB / 0.6191 GB, free: 5.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.3904, allocations: 1.014 MB / 0.6201 GB, free: 4.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 0.6201 GB, free: 4.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00167/0.392, allocations: 434.6 kB / 0.6205 GB, free: 3.93 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.00061/0.3927, allocations: 0.9445 MB / 0.6214 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.3941, allocations: 0.8676 MB / 0.6223 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3941, allocations: 4 kB / 0.6223 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.3941, allocations: 0 / 0.6223 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.3949, allocations: 0.5752 MB / 0.6229 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.4127, allocations: 13.59 MB / 0.6361 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.414, allocations: 0.9924 MB / 0.6371 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001108/0.4151, allocations: 499.2 kB / 0.6376 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.4158, allocations: 0.6633 MB / 0.6382 GB, free: 15.95 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4158, allocations: 0 / 0.6382 GB, free: 15.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/0.4733, allocations: 22.97 MB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.09, allocations: 7.922 kB / 0.6607 GB, free: 9.305 MB / 0.4981 GB " [Timeout remaining time 648] (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: 14.984821560006822]