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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001957/0.001957, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002321/0.002321, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003062/0.003062, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.388, allocations: 62.45 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01357/0.4016, allocations: 10.36 MB / 0.5407 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009452/0.4111, allocations: 3.074 MB / 0.5437 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.4144, allocations: 70.88 kB / 0.5438 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006354/0.4209, allocations: 2.675 MB / 0.5464 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.4251, allocations: 1.033 MB / 0.5474 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4263, allocations: 261.6 kB / 0.5476 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.4296, allocations: 1.513 MB / 0.5491 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003568/0.4332, allocations: 2.452 MB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.435, allocations: 0.9343 MB / 0.5524 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004751/0.4398, allocations: 3.316 MB / 0.5557 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006483/0.4405, allocations: 192 kB / 0.5559 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.4414, allocations: 267.8 kB / 0.5561 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.444, allocations: 2.927 MB / 0.559 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003592/0.4476, allocations: 3.329 MB / 0.5622 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.4586, allocations: 9.805 MB / 0.5718 GB, free: 7.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.4587, allocations: 8 kB / 0.5718 GB, free: 7.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.53e-06/0.4587, allocations: 0 / 0.5718 GB, free: 7.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003857/0.4591, allocations: 3.938 kB / 0.5718 GB, free: 7.367 MB / 430.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.01724/0.4763, allocations: 9.11 MB / 0.5807 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4764, allocations: 8.031 kB / 0.5807 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001271/0.4777, allocations: 0.6157 MB / 0.5813 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.4795, allocations: 1.028 MB / 0.5823 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.4865, allocations: 3.819 MB / 0.586 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.4867, allocations: 131.1 kB / 0.5862 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.4871, allocations: 164 kB / 0.5863 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4976, allocations: 6.612 MB / 0.5928 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.4977, allocations: 11.92 kB / 0.5928 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/0.4979, allocations: 75.95 kB / 0.5929 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/0.4998, allocations: 1.564 MB / 0.5944 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008759/0.5086, allocations: 4.125 MB / 0.5984 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/0.5452, allocations: 20.32 MB / 0.6183 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5469, allocations: 338.2 kB / 0.6186 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.5471, allocations: 64.81 kB / 0.6186 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006133/0.5532, allocations: 3.273 MB / 0.6218 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/0.5534, allocations: 109.8 kB / 0.6219 GB, free: 2.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.5534, allocations: 0 / 0.6219 GB, free: 2.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001516/0.5549, allocations: 0.8786 MB / 0.6228 GB, free: 2.098 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.555, allocations: 130.7 kB / 0.6229 GB, free: 1.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/0.5754, allocations: 10.55 MB / 0.6332 GB, free: 7.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5754, allocations: 29.7 kB / 0.6333 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0075/0.5829, allocations: 5.954 MB / 0.6391 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5832, allocations: 95.89 kB / 0.6392 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.5843, allocations: 0.8183 MB / 0.64 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5844, allocations: 317 kB / 0.6403 GB, free: 204 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5857, allocations: 0.7577 MB / 0.641 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.5901, allocations: 3.999 MB / 0.6449 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006964/0.5971, allocations: 5.204 MB / 0.65 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/0.5973, allocations: 36 kB / 0.65 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01033/0.6076, allocations: 4.959 MB / 0.6549 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.6077, allocations: 60.95 kB / 0.6549 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/0.6079, allocations: 116 kB / 0.655 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.6081, allocations: 156 kB / 0.6552 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/0.6108, allocations: 0.9786 MB / 0.6561 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.611, allocations: 231.1 kB / 0.6564 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/0.6157, allocations: 0.6204 MB / 0.657 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/0.6162, allocations: 291.9 kB / 0.6573 GB, free: 11.45 MB / 0.5137 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.006536/0.6228, allocations: 3.409 MB / 0.6606 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/0.6245, allocations: 0.96 MB / 0.6615 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.6268, allocations: 1.027 MB / 0.6625 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.381e-05/0.6269, allocations: 176.3 kB / 0.6627 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.96e-05/0.627, allocations: 184.2 kB / 0.6629 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.123e-05/0.6271, allocations: 180.2 kB / 0.663 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6382, allocations: 5.131 MB / 0.668 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.482e-05/0.6383, allocations: 116.9 kB / 0.6682 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.6383, allocations: 101 kB / 0.6683 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-05/0.6384, allocations: 180.3 kB / 0.6684 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.6385, allocations: 180.2 kB / 0.6686 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.752e-05/0.6386, allocations: 180.3 kB / 0.6688 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.982e-05/0.6387, allocations: 184.2 kB / 0.6689 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6402, allocations: 1.199 MB / 0.6701 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.6421, allocations: 0.9453 MB / 0.671 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009603/0.6431, allocations: 180.3 kB / 0.6712 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.6443, allocations: 104.9 kB / 0.6713 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.6444, allocations: 184.2 kB / 0.6715 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.6445, allocations: 101 kB / 0.6716 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01499/0.6595, allocations: 7.15 MB / 0.6786 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.886e-06/0.6595, allocations: 7.938 kB / 0.6786 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005277/0.6648, allocations: 1.141 MB / 0.6797 GB, free: 4.254 MB / 0.5294 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.002508/0.6673, allocations: 1.737 MB / 0.6814 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003676/0.6711, allocations: 1.869 MB / 0.6832 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6711, allocations: 2 kB / 0.6832 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-06/0.6711, allocations: 0 / 0.6832 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/0.6866, allocations: 3.455 MB / 0.6866 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6766/1.363, allocations: 62.45 MB / 0.7476 GB, free: 158 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/1.369, allocations: 5.273 MB / 0.7527 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005702/1.375, allocations: 2.1 MB / 0.7548 GB, free: 154.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005571/1.381, allocations: 4.06 MB / 0.7587 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.472e-06/1.381, allocations: 0 / 0.7587 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2471/1.628, allocations: 154.3 MB / 0.9094 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 42/43.63, allocations: 13.48 kB / 0.9094 GB, free: 0.7344 MB / 0.5763 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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 4e-05 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches