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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.2358/0.2358, allocations: 44.92 MB / 349.6 MB, free: 1.719 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 59.75 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 64.27 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01285/0.1458, allocations: 10.45 MB / 0.5532 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.1533, allocations: 3.029 MB / 0.5562 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1555, allocations: 71.81 kB / 0.5562 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005639/0.1611, allocations: 2.698 MB / 0.5589 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.1643, allocations: 1.078 MB / 0.5599 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.1651, allocations: 267.5 kB / 0.5602 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.1676, allocations: 1.517 MB / 0.5617 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.1704, allocations: 2.051 MB / 0.5637 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.172, allocations: 0.9186 MB / 0.5646 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/0.1768, allocations: 3.394 MB / 0.5679 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006381/0.1775, allocations: 184 kB / 0.568 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008593/0.1783, allocations: 283.8 kB / 0.5683 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.1813, allocations: 3 MB / 0.5712 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004128/0.1855, allocations: 3.341 MB / 0.5745 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.1967, allocations: 9.877 MB / 0.5842 GB, free: 9.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1967, allocations: 3.938 kB / 0.5842 GB, free: 9.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1967, allocations: 0 / 0.5842 GB, free: 9.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003188/0.197, allocations: 0 / 0.5842 GB, free: 9.742 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.0166/0.2136, allocations: 9.118 MB / 0.5931 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.2137, allocations: 12.03 kB / 0.5931 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/0.215, allocations: 0.6196 MB / 0.5937 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.2167, allocations: 1.024 MB / 0.5947 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/0.2251, allocations: 3.827 MB / 0.5984 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.2252, allocations: 127.3 kB / 0.5985 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.2257, allocations: 167.9 kB / 0.5987 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.2367, allocations: 6.612 MB / 0.6052 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.2368, allocations: 7.922 kB / 0.6052 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.237, allocations: 83.92 kB / 0.6052 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.2389, allocations: 1.561 MB / 0.6068 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5211/0.7599, allocations: 4.128 MB / 0.6108 GB, free: 51.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.797, allocations: 20.3 MB / 0.6306 GB, free: 41.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.7987, allocations: 338.9 kB / 0.6309 GB, free: 41.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.7988, allocations: 55.45 kB / 0.631 GB, free: 41.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006735/0.8055, allocations: 3.276 MB / 0.6342 GB, free: 38.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.8056, allocations: 115.2 kB / 0.6343 GB, free: 38.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.8056, allocations: 0 / 0.6343 GB, free: 38.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001804/0.8074, allocations: 0.8914 MB / 0.6352 GB, free: 37.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.8074, allocations: 130.7 kB / 0.6353 GB, free: 37.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01952/0.8269, allocations: 10.55 MB / 0.6456 GB, free: 32.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.8269, allocations: 25.7 kB / 0.6456 GB, free: 32.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004778/0.8317, allocations: 5.966 MB / 0.6515 GB, free: 27.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.8319, allocations: 87.91 kB / 0.6515 GB, free: 26.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.8327, allocations: 0.8261 MB / 0.6524 GB, free: 26.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.8327, allocations: 309.1 kB / 0.6526 GB, free: 25.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.8335, allocations: 0.7577 MB / 0.6534 GB, free: 25.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.8354, allocations: 4.002 MB / 0.6573 GB, free: 19.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.8392, allocations: 5.197 MB / 0.6624 GB, free: 12.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.89e-05/0.8393, allocations: 36 kB / 0.6624 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007872/0.8472, allocations: 4.968 MB / 0.6673 GB, free: 7.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.278e-05/0.8473, allocations: 58.34 kB / 0.6673 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.8474, allocations: 120.1 kB / 0.6674 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.8475, allocations: 152 kB / 0.6676 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.8497, allocations: 0.9863 MB / 0.6685 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001137/0.8498, allocations: 227.1 kB / 0.6688 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/0.8541, allocations: 0.6136 MB / 0.6694 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.8545, allocations: 292 kB / 0.6696 GB, free: 5.238 MB / 462.1 MB 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.005043/0.8595, allocations: 3.403 MB / 0.673 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/0.861, allocations: 0.9599 MB / 0.6739 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.863, allocations: 1.019 MB / 0.6749 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.976e-05/0.8631, allocations: 184.2 kB / 0.6751 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-05/0.8631, allocations: 176.3 kB / 0.6752 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.698e-05/0.8632, allocations: 184.8 kB / 0.6754 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.8756, allocations: 5.131 MB / 0.6804 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.463e-05/0.8757, allocations: 104.2 kB / 0.6805 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.8757, allocations: 116.8 kB / 0.6806 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.878e-05/0.8758, allocations: 180.3 kB / 0.6808 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.8759, allocations: 185.7 kB / 0.681 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-05/0.876, allocations: 180.3 kB / 0.6811 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.117e-05/0.8761, allocations: 176.3 kB / 0.6813 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.8778, allocations: 1.203 MB / 0.6825 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/0.88, allocations: 0.9557 MB / 0.6834 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009788/0.881, allocations: 180.3 kB / 0.6836 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.882, allocations: 104.9 kB / 0.6837 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.8821, allocations: 180.2 kB / 0.6839 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.8822, allocations: 105 kB / 0.684 GB, free: 6.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01514/0.8973, allocations: 7.15 MB / 0.6909 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8973, allocations: 0 / 0.6909 GB, free: 15.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005766/0.9031, allocations: 1.143 MB / 0.6921 GB, free: 14.25 MB / 494.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.002456/0.9055, allocations: 1.752 MB / 0.6938 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.9092, allocations: 1.796 MB / 0.6955 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9092, allocations: 1.031 kB / 0.6955 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.9092, allocations: 4 kB / 0.6955 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/0.9244, allocations: 3.451 MB / 0.6989 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/1.056, allocations: 62.48 MB / 0.7599 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/1.068, allocations: 5.274 MB / 0.7651 GB, free: 15.24 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007666/1.075, allocations: 2.102 MB / 0.7671 GB, free: 13.13 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006663/1.082, allocations: 4.061 MB / 0.7711 GB, free: 9.07 MB / 0.5607 GB Notification: Performance of SimCode: time 2.144e-06/1.082, allocations: 0 / 0.7711 GB, free: 9.07 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5462/1.628, allocations: 155 MB / 0.9224 GB, free: 152.5 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.98/43.6, allocations: 19.89 kB / 0.9224 GB, free: 152.5 MB / 0.6232 GB " [Timeout remaining time 616] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 47.56897843396291]