Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.94 MB / 361.7 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 71.89 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3361, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01319/0.3493, allocations: 10.43 MB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007546/0.3568, allocations: 3.112 MB / 0.5746 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.3591, allocations: 75.62 kB / 0.5747 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005903/0.365, allocations: 2.722 MB / 0.5774 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.3687, allocations: 1.128 MB / 0.5785 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.3697, allocations: 271.5 kB / 0.5787 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.3728, allocations: 1.517 MB / 0.5802 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.3754, allocations: 1.917 MB / 0.5821 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3774, allocations: 0.9187 MB / 0.583 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.3829, allocations: 3.45 MB / 0.5863 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005529/0.3834, allocations: 184 kB / 0.5865 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.3843, allocations: 271.8 kB / 0.5868 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002901/0.3872, allocations: 3.013 MB / 0.5897 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003885/0.3911, allocations: 3.341 MB / 0.593 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.4025, allocations: 9.866 MB / 0.6026 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4025, allocations: 0 / 0.6026 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4025, allocations: 0 / 0.6026 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003944/0.4029, allocations: 0 / 0.6026 GB, free: 10.07 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.01623/0.4191, allocations: 9.05 MB / 0.6115 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4192, allocations: 8.031 kB / 0.6115 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001273/0.4193, allocations: 79.41 kB / 0.6115 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00133/0.4206, allocations: 0.6157 MB / 0.6121 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.4224, allocations: 1.028 MB / 0.6131 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007048/0.4294, allocations: 3.743 MB / 0.6168 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4296, allocations: 127.1 kB / 0.6169 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.4299, allocations: 167.9 kB / 0.6171 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.44, allocations: 6.612 MB / 0.6235 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.4401, allocations: 3.938 kB / 0.6235 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.4403, allocations: 75.94 kB / 0.6236 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.4421, allocations: 1.564 MB / 0.6251 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008294/0.4504, allocations: 4.136 MB / 0.6292 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/0.4838, allocations: 20.24 MB / 0.649 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.4855, allocations: 334.2 kB / 0.6493 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4856, allocations: 60.77 kB / 0.6493 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005357/0.491, allocations: 1.928 MB / 0.6512 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.985e-05/0.4911, allocations: 113.8 kB / 0.6513 GB, free: 7.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/0.4911, allocations: 0 / 0.6513 GB, free: 7.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001417/0.4925, allocations: 0.8825 MB / 0.6522 GB, free: 6.617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.4926, allocations: 126.7 kB / 0.6523 GB, free: 6.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02207/0.5147, allocations: 10.55 MB / 0.6626 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5147, allocations: 25.7 kB / 0.6626 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007305/0.522, allocations: 5.958 MB / 0.6685 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5222, allocations: 91.91 kB / 0.6685 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.5234, allocations: 0.8261 MB / 0.6693 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5235, allocations: 305.1 kB / 0.6696 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.5247, allocations: 0.7616 MB / 0.6704 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/0.5288, allocations: 3.999 MB / 0.6743 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006562/0.5353, allocations: 5.197 MB / 0.6794 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-05/0.5354, allocations: 32 kB / 0.6794 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0102/0.5456, allocations: 4.964 MB / 0.6842 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.5458, allocations: 56 kB / 0.6843 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.5459, allocations: 124 kB / 0.6844 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.5461, allocations: 152 kB / 0.6846 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.5489, allocations: 0.9786 MB / 0.6855 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002799/0.5492, allocations: 227.1 kB / 0.6857 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.5532, allocations: 0.6285 MB / 0.6863 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004727/0.5537, allocations: 284 kB / 0.6866 GB, free: 15.98 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.005525/0.5592, allocations: 3.405 MB / 0.6899 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/0.5607, allocations: 0.9639 MB / 0.6909 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.5627, allocations: 1.026 MB / 0.6919 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/0.5628, allocations: 176.3 kB / 0.6921 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.784e-05/0.5629, allocations: 184.3 kB / 0.6922 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-05/0.563, allocations: 184.1 kB / 0.6924 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5739, allocations: 5.106 MB / 0.6974 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-05/0.5739, allocations: 104.9 kB / 0.6975 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.574, allocations: 109 kB / 0.6976 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.68e-05/0.5741, allocations: 176.3 kB / 0.6978 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/0.5742, allocations: 180.2 kB / 0.6979 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.516e-05/0.5743, allocations: 176.3 kB / 0.6981 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001023/0.5744, allocations: 196.2 kB / 0.6983 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.5763, allocations: 1.195 MB / 0.6995 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/0.5785, allocations: 0.8701 MB / 0.7003 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/0.58, allocations: 176.3 kB / 0.7005 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.5816, allocations: 112.9 kB / 0.7006 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.5817, allocations: 184.3 kB / 0.7008 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.5818, allocations: 108.9 kB / 0.7009 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01495/0.5967, allocations: 7.138 MB / 0.7078 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5967, allocations: 0 / 0.7078 GB, free: 10.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005156/0.6019, allocations: 1.145 MB / 0.7089 GB, free: 8.926 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.002455/0.6044, allocations: 1.748 MB / 0.7107 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003593/0.6079, allocations: 1.805 MB / 0.7124 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.608, allocations: 0 / 0.7124 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.608, allocations: 0 / 0.7124 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01613/0.6241, allocations: 3.45 MB / 0.7158 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.673/1.297, allocations: 62.45 MB / 0.7768 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00765/1.305, allocations: 5.273 MB / 0.7819 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006803/1.312, allocations: 2.099 MB / 0.784 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008022/1.32, allocations: 4.061 MB / 0.7879 GB, free: 98.7 MB / 0.5607 GB Notification: Performance of SimCode: time 3.546e-06/1.32, allocations: 0 / 0.7879 GB, free: 98.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2441/1.564, allocations: 158 MB / 0.9423 GB, free: 5.629 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.62/41.19, allocations: 0 / 0.9423 GB, free: 5.629 MB / 0.6232 GB " [Timeout remaining time 619] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.80283269903157]