Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001788/0.001788, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001691/0.001691, allocations: 219 kB / 21.46 MB, free: 1.586 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.237/0.237, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 63.91 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 65.99 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01073/0.1479, allocations: 8.728 MB / 0.5646 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.1536, allocations: 2.301 MB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1552, allocations: 43.94 kB / 0.5669 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.1588, allocations: 1.561 MB / 0.5684 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1605, allocations: 493.2 kB / 0.5689 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1609, allocations: 75.83 kB / 0.569 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.1623, allocations: 0.9293 MB / 0.5699 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1639, allocations: 1.28 MB / 0.5711 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.1647, allocations: 0.5488 MB / 0.5716 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.1657, allocations: 0.72 MB / 0.5724 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.166, allocations: 120 kB / 0.5725 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.1663, allocations: 120 kB / 0.5726 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007386/0.167, allocations: 0.7478 MB / 0.5733 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.1679, allocations: 0.8503 MB / 0.5741 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.1705, allocations: 2.333 MB / 0.5764 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1705, allocations: 0 / 0.5764 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1705, allocations: 0 / 0.5764 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.1705, allocations: 0 / 0.5764 GB, free: 0.8555 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002881/0.1734, allocations: 1.996 MB / 0.5784 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1735, allocations: 8.031 kB / 0.5784 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.992e-05/0.1735, allocations: 55.23 kB / 0.5784 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003661/0.1739, allocations: 330.5 kB / 0.5787 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.1745, allocations: 223.4 kB / 0.579 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1755, allocations: 0.7268 MB / 0.5797 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.1756, allocations: 122.5 kB / 0.5798 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.1758, allocations: 147.9 kB / 0.5799 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.1801, allocations: 3.379 MB / 0.5832 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.1801, allocations: 15.88 kB / 0.5832 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.1803, allocations: 71.94 kB / 0.5833 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008126/0.1811, allocations: 0.6148 MB / 0.5839 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.1842, allocations: 1.854 MB / 0.5857 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2707/0.4549, allocations: 13.51 MB / 0.5989 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/0.455, allocations: 170.8 kB / 0.5991 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.455, allocations: 84.72 kB / 0.5992 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.455, allocations: 78.66 kB / 0.5992 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.455, allocations: 109.1 kB / 0.5993 GB, free: 24.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.455, allocations: 0 / 0.5993 GB, free: 24.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002583/0.4553, allocations: 157.4 kB / 0.5995 GB, free: 24.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4553, allocations: 128.5 kB / 0.5996 GB, free: 24.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.4575, allocations: 1.666 MB / 0.6012 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4575, allocations: 25.7 kB / 0.6013 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00077/0.4583, allocations: 1.411 MB / 0.6026 GB, free: 23.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.4583, allocations: 45.95 kB / 0.6027 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/0.4588, allocations: 426.8 kB / 0.6031 GB, free: 23.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4589, allocations: 362.2 kB / 0.6034 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.4594, allocations: 368.8 kB / 0.6038 GB, free: 22.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4606, allocations: 1.935 MB / 0.6057 GB, free: 20.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.4625, allocations: 2.516 MB / 0.6081 GB, free: 17.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.749e-05/0.4625, allocations: 16 kB / 0.6081 GB, free: 17.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003408/0.4659, allocations: 2.112 MB / 0.6102 GB, free: 16.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.466, allocations: 33.09 kB / 0.6102 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.065e-05/0.466, allocations: 56.97 kB / 0.6103 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.4661, allocations: 77.53 kB / 0.6104 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4673, allocations: 489.6 kB / 0.6108 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.4674, allocations: 109.5 kB / 0.6109 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.469, allocations: 330.5 kB / 0.6113 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4692, allocations: 138.8 kB / 0.6114 GB, free: 16.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.000953/0.4701, allocations: 0.8753 MB / 0.6122 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.4703, allocations: 227.4 kB / 0.6125 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.4705, allocations: 230 kB / 0.6127 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.4705, allocations: 186 kB / 0.6129 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.4705, allocations: 178.2 kB / 0.613 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.4705, allocations: 180.8 kB / 0.6132 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4722, allocations: 1.485 MB / 0.6147 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.4722, allocations: 101.7 kB / 0.6147 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.4722, allocations: 106.7 kB / 0.6149 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.4722, allocations: 178.5 kB / 0.615 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.4723, allocations: 184.9 kB / 0.6152 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/0.4723, allocations: 182.5 kB / 0.6154 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-05/0.4723, allocations: 178.1 kB / 0.6155 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.4725, allocations: 438.7 kB / 0.616 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.4727, allocations: 306.5 kB / 0.6163 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4728, allocations: 178.3 kB / 0.6164 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.4731, allocations: 107.1 kB / 0.6165 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.4731, allocations: 183 kB / 0.6167 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4731, allocations: 105 kB / 0.6168 GB, free: 12.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.4744, allocations: 1.013 MB / 0.6178 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4744, allocations: 1.406 kB / 0.6178 GB, free: 11.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001877/0.4763, allocations: 428.5 kB / 0.6182 GB, free: 11.79 MB / 446.1 MB 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.0004295/0.4767, allocations: 0.9483 MB / 0.6191 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4783, allocations: 0.8679 MB / 0.62 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4783, allocations: 0 / 0.62 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.4783, allocations: 4.828 kB / 0.62 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.479, allocations: 0.574 MB / 0.6205 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.4969, allocations: 13.6 MB / 0.6338 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.4982, allocations: 1.577 MB / 0.6354 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001699/0.4999, allocations: 0.4945 MB / 0.6358 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.5007, allocations: 0.6556 MB / 0.6365 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5007, allocations: 0 / 0.6365 GB, free: 14.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.5489, allocations: 21.85 MB / 0.6578 GB, free: 10.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.89, allocations: 9.875 kB / 0.6578 GB, free: 10.02 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.686564143979922]