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.001796/0.001796, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002138/0.002138, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.551/1.551, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2452/0.2452, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] 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.002393/0.002393, allocations: 80.2 kB / 0.4916 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1295, allocations: 66.05 MB / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0129/0.1424, allocations: 10.41 MB / 0.5663 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007691/0.1501, allocations: 3.079 MB / 0.5693 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.1519, allocations: 79.69 kB / 0.5694 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005566/0.1575, allocations: 2.714 MB / 0.572 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.1607, allocations: 1.066 MB / 0.5731 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1617, allocations: 263.5 kB / 0.5733 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.1644, allocations: 1.516 MB / 0.5748 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.1673, allocations: 2.066 MB / 0.5768 GB, free: 268 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1689, allocations: 0.9226 MB / 0.5777 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004896/0.1738, allocations: 3.39 MB / 0.581 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006996/0.1745, allocations: 192 kB / 0.5812 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009571/0.1755, allocations: 279.8 kB / 0.5815 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.1784, allocations: 3.004 MB / 0.5844 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004138/0.1826, allocations: 3.337 MB / 0.5877 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.292/0.4746, allocations: 9.873 MB / 0.5973 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4746, allocations: 0.5625 kB / 0.5973 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4746, allocations: 0 / 0.5973 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004909/0.4751, allocations: 0 / 0.5973 GB, free: 14.23 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.01984/0.4949, allocations: 9.117 MB / 0.6062 GB, free: 9.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4949, allocations: 9.656 kB / 0.6062 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001984/0.4951, allocations: 75.12 kB / 0.6063 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/0.4969, allocations: 0.616 MB / 0.6069 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.4994, allocations: 1.027 MB / 0.6079 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008499/0.5079, allocations: 3.823 MB / 0.6117 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.5081, allocations: 131.6 kB / 0.6118 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004888/0.5086, allocations: 167.8 kB / 0.6119 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.5201, allocations: 6.605 MB / 0.6184 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.5202, allocations: 10.19 kB / 0.6184 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.5204, allocations: 73.89 kB / 0.6185 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001744/0.5222, allocations: 1.557 MB / 0.62 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/0.5304, allocations: 4.135 MB / 0.624 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.5663, allocations: 20.3 MB / 0.6439 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.568, allocations: 343 kB / 0.6442 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.5681, allocations: 59.58 kB / 0.6442 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007441/0.5756, allocations: 3.282 MB / 0.6474 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/0.5756, allocations: 109.8 kB / 0.6475 GB, free: 144 kB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.5756, allocations: 0 / 0.6475 GB, free: 144 kB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.002329/0.578, allocations: 0.884 MB / 0.6484 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.578, allocations: 126.7 kB / 0.6485 GB, free: 15.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02354/0.6016, allocations: 10.55 MB / 0.6588 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6016, allocations: 27.12 kB / 0.6589 GB, free: 4.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007019/0.6086, allocations: 5.965 MB / 0.6647 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.6088, allocations: 91.91 kB / 0.6648 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.61, allocations: 0.8261 MB / 0.6656 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6102, allocations: 304.9 kB / 0.6659 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.6114, allocations: 0.7616 MB / 0.6666 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/0.6153, allocations: 3.999 MB / 0.6705 GB, free: 7.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006068/0.6213, allocations: 5.203 MB / 0.6756 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.433e-05/0.6214, allocations: 32 kB / 0.6756 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0106/0.632, allocations: 4.969 MB / 0.6805 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.6321, allocations: 56 kB / 0.6805 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.6323, allocations: 121.9 kB / 0.6807 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.6325, allocations: 148 kB / 0.6808 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.6354, allocations: 0.9873 MB / 0.6818 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002228/0.6356, allocations: 227.1 kB / 0.682 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/0.6411, allocations: 0.6189 MB / 0.6826 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007358/0.6418, allocations: 284 kB / 0.6828 GB, free: 9.676 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.007232/0.649, allocations: 3.407 MB / 0.6862 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002659/0.6517, allocations: 0.9599 MB / 0.6871 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.6548, allocations: 1.023 MB / 0.6881 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/0.6549, allocations: 180.2 kB / 0.6883 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.937e-05/0.655, allocations: 180.3 kB / 0.6885 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.321e-05/0.6551, allocations: 180.8 kB / 0.6886 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.6681, allocations: 5.135 MB / 0.6936 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/0.6681, allocations: 101 kB / 0.6937 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.6682, allocations: 108.9 kB / 0.6938 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.6682, allocations: 184.3 kB / 0.694 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.6683, allocations: 188.9 kB / 0.6942 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.75e-05/0.6684, allocations: 176.3 kB / 0.6944 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-05/0.6685, allocations: 184.2 kB / 0.6945 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.6707, allocations: 1.198 MB / 0.6957 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00257/0.6733, allocations: 0.9492 MB / 0.6966 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/0.6749, allocations: 184.2 kB / 0.6968 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.6766, allocations: 108.9 kB / 0.6969 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.6767, allocations: 177 kB / 0.6971 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.6768, allocations: 105 kB / 0.6972 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01733/0.6941, allocations: 7.138 MB / 0.7042 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6941, allocations: 0 / 0.7042 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007217/0.7013, allocations: 1.142 MB / 0.7053 GB, free: 2.512 MB / 0.5137 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.003578/0.7049, allocations: 1.754 MB / 0.707 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.7088, allocations: 1.81 MB / 0.7088 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7088, allocations: 0 / 0.7088 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.7088, allocations: 1.312 kB / 0.7088 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/0.7262, allocations: 3.444 MB / 0.7121 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/0.8597, allocations: 62.46 MB / 0.7731 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/0.8698, allocations: 5.273 MB / 0.7783 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007319/0.8771, allocations: 2.098 MB / 0.7803 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006999/0.8841, allocations: 4.062 MB / 0.7843 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of SimCode: time 1.813e-06/0.8841, allocations: 0 / 0.7843 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5061/1.39, allocations: 154.9 MB / 0.9355 GB, free: 167 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.09/40.48, allocations: 12.66 kB / 0.9355 GB, free: 167 MB / 0.6544 GB " [Timeout remaining time 619] (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: 45.07240206096321]