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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001649/0.00165, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.406/1.406, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2196/0.2196, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3549, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0112/0.3662, allocations: 10.39 MB / 0.5297 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.3732, allocations: 3.031 MB / 0.5327 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.3752, allocations: 70.47 kB / 0.5327 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004775/0.38, allocations: 2.672 MB / 0.5353 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.3825, allocations: 1.073 MB / 0.5364 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.3831, allocations: 264.2 kB / 0.5366 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.3851, allocations: 1.526 MB / 0.5381 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.3883, allocations: 2.451 MB / 0.5405 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.3901, allocations: 0.9097 MB / 0.5414 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.3943, allocations: 3.327 MB / 0.5447 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.3948, allocations: 188 kB / 0.5448 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.3955, allocations: 279.8 kB / 0.5451 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.398, allocations: 2.973 MB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4009, allocations: 3.337 MB / 0.5513 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.4095, allocations: 9.758 MB / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4095, allocations: 0 / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4096, allocations: 0 / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002634/0.4098, allocations: 0 / 0.5608 GB, free: 1.66 MB / 414.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.01499/0.4248, allocations: 8.781 MB / 0.5694 GB, free: 8.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.4249, allocations: 8.031 kB / 0.5694 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.4262, allocations: 0.9666 MB / 0.5703 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00603/0.4322, allocations: 3.757 MB / 0.574 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/0.4323, allocations: 131.3 kB / 0.5741 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.4326, allocations: 167.9 kB / 0.5743 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008391/0.441, allocations: 6.604 MB / 0.5807 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.4411, allocations: 11.94 kB / 0.5807 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.4412, allocations: 75.94 kB / 0.5808 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.4428, allocations: 1.557 MB / 0.5823 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007044/0.4499, allocations: 4.133 MB / 0.5864 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.4771, allocations: 20.23 MB / 0.6061 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.4787, allocations: 338.2 kB / 0.6065 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4788, allocations: 71.88 kB / 0.6065 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00523/0.484, allocations: 3.264 MB / 0.6097 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.4841, allocations: 113.8 kB / 0.6098 GB, free: 14.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.235e-06/0.4841, allocations: 0 / 0.6098 GB, free: 14.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009832/0.4851, allocations: 0.8347 MB / 0.6106 GB, free: 13.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4852, allocations: 51.41 kB / 0.6107 GB, free: 13.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01529/0.5005, allocations: 10.55 MB / 0.621 GB, free: 3.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.5005, allocations: 25.7 kB / 0.621 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004985/0.5055, allocations: 5.842 MB / 0.6267 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.5056, allocations: 87.91 kB / 0.6268 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/0.5065, allocations: 0.8252 MB / 0.6276 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5066, allocations: 305.1 kB / 0.6279 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/0.5076, allocations: 0.7577 MB / 0.6286 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.5105, allocations: 3.995 MB / 0.6325 GB, free: 5.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004542/0.5151, allocations: 5.204 MB / 0.6376 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-05/0.5151, allocations: 36 kB / 0.6376 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006967/0.5221, allocations: 4.928 MB / 0.6425 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.5222, allocations: 56 kB / 0.6425 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.491e-05/0.5223, allocations: 116 kB / 0.6426 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.5224, allocations: 152 kB / 0.6428 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.5247, allocations: 0.9825 MB / 0.6437 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001598/0.5249, allocations: 231.1 kB / 0.644 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.528, allocations: 0.6069 MB / 0.6445 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.5283, allocations: 288 kB / 0.6448 GB, free: 7.176 MB / 0.4981 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.004175/0.5324, allocations: 3.401 MB / 0.6481 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/0.5334, allocations: 0.9082 MB / 0.649 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.5348, allocations: 1.023 MB / 0.65 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.847e-05/0.5349, allocations: 184.3 kB / 0.6502 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/0.5349, allocations: 101 kB / 0.6503 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.5365, allocations: 0.9091 MB / 0.6512 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/0.537, allocations: 176.3 kB / 0.6514 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.5378, allocations: 108.9 kB / 0.6515 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.5379, allocations: 180.3 kB / 0.6516 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001112/0.538, allocations: 259.5 kB / 0.6519 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008137/0.5388, allocations: 1.237 MB / 0.6531 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.9e-05/0.5389, allocations: 108.9 kB / 0.6532 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01173/0.5507, allocations: 7.146 MB / 0.6602 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of Backend: time 1.563e-06/0.5507, allocations: 0 / 0.6602 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005184/0.5559, allocations: 1.959 MB / 0.6621 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of SimCode: time 0.03595/0.5919, allocations: 19.92 MB / 0.6815 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of Templates: time 0.5995/1.191, allocations: 85.56 MB / 0.7651 GB, free: 131.3 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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