Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001375/0.001375, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001508/0.001508, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.535/1.535, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2471/0.2471, allocations: 46.93 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] 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.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 75.89 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01367/0.3417, allocations: 10.42 MB / 0.5717 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.3486, allocations: 3.109 MB / 0.5747 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3496, allocations: 79.62 kB / 0.5748 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.3548, allocations: 2.718 MB / 0.5774 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.3572, allocations: 1.136 MB / 0.5786 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.3578, allocations: 259.6 kB / 0.5788 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.3597, allocations: 1.521 MB / 0.5803 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.3619, allocations: 1.925 MB / 0.5822 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.363, allocations: 0.9226 MB / 0.5831 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.368, allocations: 3.435 MB / 0.5864 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004209/0.3684, allocations: 188 kB / 0.5866 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.3691, allocations: 279.7 kB / 0.5869 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002548/0.3716, allocations: 3.009 MB / 0.5898 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003199/0.3748, allocations: 3.333 MB / 0.5931 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3853, allocations: 9.874 MB / 0.6027 GB, free: 9.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.3853, allocations: 4 kB / 0.6027 GB, free: 9.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3853, allocations: 0 / 0.6027 GB, free: 9.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003147/0.3856, allocations: 0 / 0.6027 GB, free: 9.875 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.01818/0.4038, allocations: 9.05 MB / 0.6115 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.4038, allocations: 8.031 kB / 0.6115 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001939/0.404, allocations: 75.41 kB / 0.6116 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/0.4059, allocations: 0.6196 MB / 0.6122 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4081, allocations: 1.028 MB / 0.6132 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008478/0.4166, allocations: 3.727 MB / 0.6169 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4167, allocations: 139.1 kB / 0.617 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.417, allocations: 163.9 kB / 0.6172 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.4272, allocations: 6.608 MB / 0.6236 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.4272, allocations: 7.938 kB / 0.6236 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.4274, allocations: 75.94 kB / 0.6237 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001895/0.4293, allocations: 1.561 MB / 0.6252 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008532/0.4378, allocations: 4.129 MB / 0.6292 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.4737, allocations: 20.26 MB / 0.649 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.4755, allocations: 334.2 kB / 0.6493 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.4758, allocations: 63.16 kB / 0.6494 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005733/0.4815, allocations: 1.928 MB / 0.6513 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.4816, allocations: 109.9 kB / 0.6514 GB, free: 7.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.4816, allocations: 4 kB / 0.6514 GB, free: 7.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001354/0.483, allocations: 0.8786 MB / 0.6523 GB, free: 6.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.4831, allocations: 126.7 kB / 0.6524 GB, free: 6.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02483/0.5079, allocations: 10.56 MB / 0.6627 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.5079, allocations: 25.7 kB / 0.6627 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.01061/0.5185, allocations: 5.954 MB / 0.6685 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.5188, allocations: 87.91 kB / 0.6686 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.5204, allocations: 0.83 MB / 0.6694 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5205, allocations: 309.1 kB / 0.6697 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.5225, allocations: 0.7577 MB / 0.6705 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00632/0.5288, allocations: 3.999 MB / 0.6744 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009793/0.5386, allocations: 5.197 MB / 0.6794 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/0.5387, allocations: 36 kB / 0.6795 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01709/0.5558, allocations: 4.96 MB / 0.6843 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5559, allocations: 56.22 kB / 0.6844 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/0.5561, allocations: 120 kB / 0.6845 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.5564, allocations: 152 kB / 0.6846 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/0.5612, allocations: 0.9902 MB / 0.6856 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002808/0.5614, allocations: 227.1 kB / 0.6858 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/0.568, allocations: 0.6281 MB / 0.6864 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/0.5687, allocations: 288 kB / 0.6867 GB, free: 15.79 MB / 0.5294 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.008304/0.577, allocations: 3.401 MB / 0.69 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/0.5789, allocations: 0.9599 MB / 0.691 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.5814, allocations: 1.023 MB / 0.692 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/0.5815, allocations: 188.2 kB / 0.6921 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002127/0.5817, allocations: 180.3 kB / 0.6923 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.5818, allocations: 188.2 kB / 0.6925 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.5914, allocations: 5.098 MB / 0.6975 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/0.5914, allocations: 105 kB / 0.6976 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.5915, allocations: 108.9 kB / 0.6977 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.723e-05/0.5915, allocations: 180.2 kB / 0.6978 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.5916, allocations: 176.3 kB / 0.698 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.5917, allocations: 188.2 kB / 0.6982 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.5918, allocations: 176.3 kB / 0.6984 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.5933, allocations: 1.203 MB / 0.6995 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.5953, allocations: 0.8701 MB / 0.7004 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007611/0.596, allocations: 180.2 kB / 0.7006 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.5969, allocations: 101 kB / 0.7007 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.597, allocations: 184.2 kB / 0.7008 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.597, allocations: 108.9 kB / 0.7009 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01432/0.6114, allocations: 7.142 MB / 0.7079 GB, free: 9.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6114, allocations: 0 / 0.7079 GB, free: 9.895 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005017/0.6164, allocations: 1.149 MB / 0.709 GB, free: 8.742 MB / 0.545 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.002195/0.6186, allocations: 1.748 MB / 0.7107 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.6222, allocations: 1.804 MB / 0.7125 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6222, allocations: 0 / 0.7125 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.6222, allocations: 0.75 kB / 0.7125 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/0.6366, allocations: 3.455 MB / 0.7159 GB, free: 1.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5657/1.202, allocations: 62.45 MB / 0.7769 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007627/1.21, allocations: 5.275 MB / 0.782 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005871/1.216, allocations: 2.097 MB / 0.7841 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.22, allocations: 4.063 MB / 0.788 GB, free: 98.46 MB / 0.5607 GB Notification: Performance of SimCode: time 1.332e-06/1.22, allocations: 0 / 0.788 GB, free: 98.46 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2407/1.461, allocations: 158 MB / 0.9423 GB, free: 5.508 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.19/46.65, allocations: 12.05 kB / 0.9423 GB, free: 5.496 MB / 0.6232 GB " [Timeout remaining time 613] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 51.38282708398765]