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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 116.7 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.3 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.18 MB / 336.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.16 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1068, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2799/0.3868, allocations: 55.86 MB / 0.5124 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.4145, allocations: 10.32 MB / 0.5225 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/0.4316, allocations: 237.8 kB / 0.5227 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006149/0.4379, allocations: 2.579 MB / 0.5252 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.442, allocations: 0.967 MB / 0.5261 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.443, allocations: 250.5 kB / 0.5264 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.4456, allocations: 1.531 MB / 0.5279 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.449, allocations: 2.582 MB / 0.5304 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.4509, allocations: 0.9708 MB / 0.5313 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.4555, allocations: 3.584 MB / 0.5348 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.456, allocations: 187.6 kB / 0.535 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007864/0.4568, allocations: 276 kB / 0.5353 GB, free: 4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.4589, allocations: 3.01 MB / 0.5382 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.4617, allocations: 3.344 MB / 0.5415 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.4721, allocations: 9.223 MB / 0.5505 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4721, allocations: 0 / 0.5505 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4722, allocations: 0 / 0.5505 GB, free: 8.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.4726, allocations: 0 / 0.5505 GB, free: 8.609 MB / 398.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.01606/0.4887, allocations: 8.783 MB / 0.5591 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4887, allocations: 8.031 kB / 0.5591 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.4897, allocations: 0.6188 MB / 0.5597 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.4911, allocations: 0.9705 MB / 0.5606 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/0.4972, allocations: 3.722 MB / 0.5643 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.4973, allocations: 126.2 kB / 0.5644 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.4976, allocations: 169 kB / 0.5646 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008677/0.5063, allocations: 6.607 MB / 0.571 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.5064, allocations: 7.875 kB / 0.571 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.5065, allocations: 80.09 kB / 0.5711 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.5081, allocations: 1.566 MB / 0.5726 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006885/0.515, allocations: 4.133 MB / 0.5767 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03011/0.5452, allocations: 20.39 MB / 0.5966 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.547, allocations: 338.2 kB / 0.5969 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.5471, allocations: 65.08 kB / 0.597 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005853/0.553, allocations: 3.265 MB / 0.6001 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.5531, allocations: 109.8 kB / 0.6002 GB, free: 5.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.865e-06/0.5531, allocations: 0 / 0.6002 GB, free: 5.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001239/0.5543, allocations: 0.8425 MB / 0.6011 GB, free: 4.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.5544, allocations: 126.7 kB / 0.6012 GB, free: 4.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02003/0.5744, allocations: 10.56 MB / 0.6115 GB, free: 9.578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5745, allocations: 25.7 kB / 0.6115 GB, free: 9.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005621/0.5801, allocations: 5.827 MB / 0.6172 GB, free: 3.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.5803, allocations: 95.89 kB / 0.6173 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008575/0.5812, allocations: 0.8135 MB / 0.6181 GB, free: 2.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5813, allocations: 305.1 kB / 0.6184 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/0.5823, allocations: 0.7655 MB / 0.6191 GB, free: 1.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/0.5853, allocations: 3.999 MB / 0.623 GB, free: 12.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005824/0.5912, allocations: 5.197 MB / 0.6281 GB, free: 5.184 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.685e-05/0.5912, allocations: 32 kB / 0.6281 GB, free: 5.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009103/0.6004, allocations: 4.92 MB / 0.633 GB, free: 224 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.6005, allocations: 58.19 kB / 0.633 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.6006, allocations: 120 kB / 0.6331 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.6008, allocations: 160 kB / 0.6333 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.6032, allocations: 0.9831 MB / 0.6342 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001609/0.6034, allocations: 223.1 kB / 0.6344 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/0.6077, allocations: 0.603 MB / 0.635 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/0.6081, allocations: 288 kB / 0.6353 GB, free: 13.8 MB / 494.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.00607/0.6142, allocations: 3.405 MB / 0.6386 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/0.6157, allocations: 0.9082 MB / 0.6395 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.6179, allocations: 1.023 MB / 0.6405 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/0.618, allocations: 184.2 kB / 0.6407 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-05/0.6181, allocations: 183.2 kB / 0.6409 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.412e-05/0.6182, allocations: 184.2 kB / 0.6411 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/0.6267, allocations: 5.127 MB / 0.6461 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-05/0.6268, allocations: 116.9 kB / 0.6462 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.6268, allocations: 101 kB / 0.6463 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-05/0.6269, allocations: 180.3 kB / 0.6464 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.627, allocations: 180.2 kB / 0.6466 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-05/0.6271, allocations: 188.1 kB / 0.6468 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-05/0.6272, allocations: 180.2 kB / 0.647 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.6286, allocations: 1.159 MB / 0.6481 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.6302, allocations: 0.9056 MB / 0.649 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005187/0.6307, allocations: 176.3 kB / 0.6491 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/0.6315, allocations: 116.9 kB / 0.6493 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6317, allocations: 180.2 kB / 0.6494 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.6318, allocations: 104.9 kB / 0.6495 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01396/0.6457, allocations: 7.15 MB / 0.6565 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6458, allocations: 0 / 0.6565 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005674/0.6515, allocations: 1.124 MB / 0.6576 GB, free: 6.738 MB / 0.4981 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.002045/0.6535, allocations: 1.704 MB / 0.6593 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.6574, allocations: 1.867 MB / 0.6611 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6574, allocations: 0 / 0.6611 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.6574, allocations: 0 / 0.6611 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01385/0.6712, allocations: 3.465 MB / 0.6645 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5889/1.26, allocations: 96.87 MB / 0.7591 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.265, allocations: 5.276 MB / 0.7642 GB, free: 156.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00584/1.271, allocations: 2.096 MB / 0.7663 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004573/1.275, allocations: 4.061 MB / 0.7702 GB, free: 150.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.203e-06/1.275, allocations: 0 / 0.7702 GB, free: 150.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4541/1.729, allocations: 160.5 MB / 0.927 GB, free: 183.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.729, allocations: 195.6 kB / 0.9272 GB, free: 182.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/8.48, allocations: 0.75 kB / 0.9272 GB, free: 182.9 MB / 0.545 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/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) Reference file matches