Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.5 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1147, allocations: 64.25 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01081/0.1255, allocations: 8.76 MB / 0.5516 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005382/0.1309, allocations: 2.247 MB / 0.5538 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1321, allocations: 43.94 kB / 0.5538 GB, free: 9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.1355, allocations: 1.569 MB / 0.5553 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1371, allocations: 489.3 kB / 0.5558 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1374, allocations: 79.84 kB / 0.5559 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1388, allocations: 0.9409 MB / 0.5568 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.1404, allocations: 1.291 MB / 0.5581 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.1412, allocations: 0.5371 MB / 0.5586 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1424, allocations: 0.7278 MB / 0.5593 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.1426, allocations: 116 kB / 0.5594 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.1429, allocations: 127.9 kB / 0.5595 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007306/0.1437, allocations: 0.7556 MB / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009391/0.1446, allocations: 0.8619 MB / 0.5611 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.1472, allocations: 2.349 MB / 0.5634 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1472, allocations: 0 / 0.5634 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1472, allocations: 0 / 0.5634 GB, free: 15.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.075e-05/0.1473, allocations: 0 / 0.5634 GB, free: 15.11 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.002997/0.1503, allocations: 2.011 MB / 0.5654 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1503, allocations: 8.031 kB / 0.5654 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/0.1507, allocations: 326.5 kB / 0.5657 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.1513, allocations: 227.4 kB / 0.5659 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1526, allocations: 0.7267 MB / 0.5666 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.1527, allocations: 119.4 kB / 0.5667 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.1529, allocations: 155.9 kB / 0.5669 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.1576, allocations: 3.379 MB / 0.5702 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.1577, allocations: 11.88 kB / 0.5702 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.1578, allocations: 75.94 kB / 0.5703 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007647/0.1586, allocations: 0.611 MB / 0.5709 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.162, allocations: 1.862 MB / 0.5727 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.1756, allocations: 13.51 MB / 0.5859 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1757, allocations: 165.1 kB / 0.586 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1758, allocations: 91.95 kB / 0.5861 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1758, allocations: 79.28 kB / 0.5862 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.1759, allocations: 113.8 kB / 0.5863 GB, free: 6.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.1759, allocations: 0 / 0.5863 GB, free: 6.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002865/0.1762, allocations: 160.8 kB / 0.5865 GB, free: 6.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.1762, allocations: 126.7 kB / 0.5866 GB, free: 6.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.1783, allocations: 1.656 MB / 0.5882 GB, free: 4.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1783, allocations: 25.7 kB / 0.5882 GB, free: 4.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.1794, allocations: 1.423 MB / 0.5896 GB, free: 3.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1795, allocations: 43.95 kB / 0.5897 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.1799, allocations: 423.2 kB / 0.5901 GB, free: 2.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1801, allocations: 357.9 kB / 0.5904 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.1807, allocations: 375.8 kB / 0.5908 GB, free: 2.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.1825, allocations: 1.929 MB / 0.5926 GB, free: 15.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.1854, allocations: 2.511 MB / 0.5951 GB, free: 12.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/0.1854, allocations: 16 kB / 0.5951 GB, free: 12.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003788/0.1892, allocations: 2.12 MB / 0.5972 GB, free: 9.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.1893, allocations: 32 kB / 0.5972 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.646e-05/0.1893, allocations: 56 kB / 0.5973 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.449e-05/0.1894, allocations: 76.06 kB / 0.5973 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.1907, allocations: 495 kB / 0.5978 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.925e-05/0.1908, allocations: 107.6 kB / 0.5979 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.1924, allocations: 325.5 kB / 0.5982 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.1926, allocations: 140 kB / 0.5984 GB, free: 8.73 MB / 462.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.001181/0.1937, allocations: 0.8628 MB / 0.5992 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.194, allocations: 244 kB / 0.5994 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.1942, allocations: 228.6 kB / 0.5996 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001202/0.1943, allocations: 180.2 kB / 0.5998 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-05/0.1944, allocations: 184.2 kB / 0.6 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.779e-05/0.1945, allocations: 180.3 kB / 0.6002 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.1965, allocations: 1.489 MB / 0.6016 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/0.1966, allocations: 101 kB / 0.6017 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.1966, allocations: 108.9 kB / 0.6018 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.1967, allocations: 176.3 kB / 0.602 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.1968, allocations: 176.3 kB / 0.6022 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.473e-05/0.1969, allocations: 184.2 kB / 0.6023 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.144e-05/0.197, allocations: 184.2 kB / 0.6025 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1973, allocations: 434 kB / 0.6029 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.1977, allocations: 309.1 kB / 0.6032 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.1979, allocations: 180.3 kB / 0.6034 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.1983, allocations: 105 kB / 0.6035 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1984, allocations: 184.2 kB / 0.6037 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.1984, allocations: 112.9 kB / 0.6038 GB, free: 2.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.2, allocations: 1.014 MB / 0.6048 GB, free: 1.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2, allocations: 0 / 0.6048 GB, free: 1.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001949/0.202, allocations: 430.7 kB / 0.6052 GB, free: 1.512 MB / 462.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.0007966/0.2028, allocations: 0.9484 MB / 0.6061 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.249/0.4517, allocations: 0.866 MB / 0.6069 GB, free: 60.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4517, allocations: 0.5938 kB / 0.6069 GB, free: 60.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.4517, allocations: 4.531 kB / 0.607 GB, free: 60.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4527, allocations: 0.5699 MB / 0.6075 GB, free: 60.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.4713, allocations: 13.62 MB / 0.6208 GB, free: 51.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.4729, allocations: 1.574 MB / 0.6223 GB, free: 50.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001351/0.4742, allocations: 496.9 kB / 0.6228 GB, free: 50.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.4749, allocations: 0.6646 MB / 0.6235 GB, free: 49.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4749, allocations: 1.031 kB / 0.6235 GB, free: 49.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/0.5281, allocations: 21.87 MB / 0.6448 GB, free: 36.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.74, allocations: 6.188 kB / 0.6448 GB, free: 36.08 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.05486643128097]