Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001334/0.001334, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002284/0.002284, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.91 MB / 355.1 MB, free: 12.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 74.06 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1382, allocations: 65.42 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01294/0.1512, allocations: 10.41 MB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.1588, allocations: 3.091 MB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.1608, allocations: 79.62 kB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.1667, allocations: 2.706 MB / 0.5676 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.1702, allocations: 1.07 MB / 0.5687 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.1712, allocations: 267.5 kB / 0.5689 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.1743, allocations: 1.509 MB / 0.5704 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/0.1775, allocations: 2.063 MB / 0.5724 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.1796, allocations: 0.9304 MB / 0.5733 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.1848, allocations: 3.39 MB / 0.5767 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008489/0.1857, allocations: 188 kB / 0.5768 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1867, allocations: 275.8 kB / 0.5771 GB, free: 88 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003208/0.1899, allocations: 3.012 MB / 0.58 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004709/0.1946, allocations: 3.333 MB / 0.5833 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5484/0.743, allocations: 9.873 MB / 0.5929 GB, free: 16.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.743, allocations: 1.094 kB / 0.5929 GB, free: 16.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.743, allocations: 0.5 kB / 0.5929 GB, free: 16.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004213/0.7435, allocations: 0 / 0.5929 GB, free: 16.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.02091/0.7644, allocations: 9.113 MB / 0.6018 GB, free: 11.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.7644, allocations: 9.344 kB / 0.6018 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/0.766, allocations: 0.6188 MB / 0.6024 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.7685, allocations: 1.025 MB / 0.6034 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009481/0.7779, allocations: 3.822 MB / 0.6072 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.7781, allocations: 131.4 kB / 0.6073 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.7785, allocations: 165.6 kB / 0.6075 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.7905, allocations: 6.605 MB / 0.6139 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.7906, allocations: 9.594 kB / 0.6139 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.7908, allocations: 75.28 kB / 0.614 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.7929, allocations: 1.559 MB / 0.6155 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008855/0.8017, allocations: 4.134 MB / 0.6196 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.8359, allocations: 20.31 MB / 0.6394 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.8376, allocations: 333.3 kB / 0.6397 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.8378, allocations: 71.28 kB / 0.6398 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007435/0.8452, allocations: 3.274 MB / 0.643 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.8453, allocations: 105.8 kB / 0.6431 GB, free: 3.977 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 3.347e-06/0.8453, allocations: 1.969 kB / 0.6431 GB, free: 3.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.002744/0.8481, allocations: 0.8838 MB / 0.6439 GB, free: 3.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.8481, allocations: 134.7 kB / 0.6441 GB, free: 2.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02499/0.8731, allocations: 10.55 MB / 0.6544 GB, free: 8.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.8732, allocations: 25.7 kB / 0.6544 GB, free: 8.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007089/0.8803, allocations: 5.959 MB / 0.6602 GB, free: 2.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.8804, allocations: 91.89 kB / 0.6603 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.8817, allocations: 0.8258 MB / 0.6611 GB, free: 1.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8819, allocations: 309.1 kB / 0.6614 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8831, allocations: 0.7616 MB / 0.6621 GB, free: 488 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.8871, allocations: 4 MB / 0.666 GB, free: 10.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/0.8934, allocations: 5.203 MB / 0.6711 GB, free: 4.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-05/0.8935, allocations: 34.19 kB / 0.6712 GB, free: 4.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01046/0.904, allocations: 4.966 MB / 0.676 GB, free: 15.84 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.9041, allocations: 58.34 kB / 0.6761 GB, free: 15.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000207/0.9043, allocations: 120.9 kB / 0.6762 GB, free: 15.67 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.9045, allocations: 148 kB / 0.6763 GB, free: 15.52 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.9073, allocations: 0.9863 MB / 0.6773 GB, free: 14.54 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002175/0.9075, allocations: 227.1 kB / 0.6775 GB, free: 14.31 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/0.9122, allocations: 0.6199 MB / 0.6781 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005616/0.9128, allocations: 284 kB / 0.6784 GB, free: 13.42 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * 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.005724/0.9185, allocations: 3.405 MB / 0.6817 GB, free: 10 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002207/0.9207, allocations: 0.9638 MB / 0.6826 GB, free: 9.027 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.9233, allocations: 1.019 MB / 0.6836 GB, free: 8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.763e-05/0.9233, allocations: 184.2 kB / 0.6838 GB, free: 7.812 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-05/0.9234, allocations: 184.3 kB / 0.684 GB, free: 7.625 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-05/0.9235, allocations: 176.3 kB / 0.6842 GB, free: 7.445 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.9373, allocations: 5.131 MB / 0.6892 GB, free: 2.246 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/0.9373, allocations: 108.4 kB / 0.6893 GB, free: 2.137 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.9374, allocations: 108.9 kB / 0.6894 GB, free: 2.023 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.979e-05/0.9375, allocations: 181.9 kB / 0.6895 GB, free: 1.84 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.9376, allocations: 181.1 kB / 0.6897 GB, free: 1.656 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.358e-05/0.9377, allocations: 180.2 kB / 0.6899 GB, free: 1.473 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.138e-05/0.9377, allocations: 180.2 kB / 0.6901 GB, free: 1.289 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.94, allocations: 1.199 MB / 0.6912 GB, free: 60 kB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/0.9424, allocations: 0.9516 MB / 0.6922 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/0.9441, allocations: 188.2 kB / 0.6923 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/0.9461, allocations: 101 kB / 0.6924 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.9462, allocations: 192.1 kB / 0.6926 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.9463, allocations: 101 kB / 0.6927 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01519/0.9614, allocations: 7.138 MB / 0.6997 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9614, allocations: 4 kB / 0.6997 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006298/0.9677, allocations: 1.142 MB / 0.7008 GB, free: 6.25 MB / 0.5138 GB 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.003223/0.971, allocations: 1.748 MB / 0.7025 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.004025/0.975, allocations: 1.803 MB / 0.7043 GB, free: 2.688 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.975, allocations: 0 / 0.7043 GB, free: 2.688 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.975, allocations: 1.75 kB / 0.7043 GB, free: 2.688 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01783/0.9928, allocations: 3.442 MB / 0.7076 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1412/1.134, allocations: 62.45 MB / 0.7686 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/1.147, allocations: 5.277 MB / 0.7738 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007975/1.155, allocations: 2.094 MB / 0.7758 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007751/1.163, allocations: 4.061 MB / 0.7798 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of SimCode: time 3.066e-06/1.163, allocations: 3.938 kB / 0.7798 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5368/1.699, allocations: 154.9 MB / 0.9311 GB, free: 174.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.71/42.41, allocations: 0 / 0.9311 GB, free: 174.2 MB / 0.6544 GB " [Timeout remaining time 617] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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: 45.652778384275734]