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.00167/0.00167, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002143/0.002143, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.519/1.519, allocations: 230.6 MB / 254.1 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.2492/0.2492, allocations: 46.91 MB / 357.1 MB, free: 10.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 0.4909 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1288, allocations: 66 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0109/0.1397, allocations: 8.734 MB / 0.5639 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.1458, allocations: 2.293 MB / 0.5662 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.1478, allocations: 43.88 kB / 0.5662 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.1516, allocations: 1.565 MB / 0.5677 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1532, allocations: 489.3 kB / 0.5682 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.1536, allocations: 75.83 kB / 0.5683 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1553, allocations: 0.9216 MB / 0.5692 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.1572, allocations: 1.284 MB / 0.5704 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.1581, allocations: 0.5449 MB / 0.571 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.1593, allocations: 0.7161 MB / 0.5717 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.1596, allocations: 120 kB / 0.5718 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.1601, allocations: 131.9 kB / 0.5719 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.161, allocations: 0.7439 MB / 0.5726 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1623, allocations: 0.8464 MB / 0.5734 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.1651, allocations: 2.333 MB / 0.5757 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1651, allocations: 3.984 kB / 0.5757 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1651, allocations: 0 / 0.5757 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.753e-05/0.1652, allocations: 0 / 0.5757 GB, free: 0.8594 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.003496/0.1687, allocations: 1.995 MB / 0.5777 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1687, allocations: 8.031 kB / 0.5777 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004495/0.1692, allocations: 330.5 kB / 0.578 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.1698, allocations: 223.4 kB / 0.5782 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1709, allocations: 0.7344 MB / 0.5789 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.171, allocations: 115.4 kB / 0.579 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.1712, allocations: 155.9 kB / 0.5792 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.1756, allocations: 3.379 MB / 0.5825 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.1756, allocations: 15.88 kB / 0.5825 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.1758, allocations: 71.95 kB / 0.5826 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008615/0.1766, allocations: 0.6227 MB / 0.5832 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.18, allocations: 1.858 MB / 0.585 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2891/0.4691, allocations: 13.5 MB / 0.5982 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.4692, allocations: 168.2 kB / 0.5983 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.4692, allocations: 91.2 kB / 0.5984 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4692, allocations: 79.72 kB / 0.5985 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4692, allocations: 108.6 kB / 0.5986 GB, free: 24.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.846e-06/0.4692, allocations: 0 / 0.5986 GB, free: 24.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002612/0.4695, allocations: 160.1 kB / 0.5988 GB, free: 24.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.4695, allocations: 128 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.4718, allocations: 1.648 MB / 0.6005 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.4718, allocations: 30.36 kB / 0.6005 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/0.4726, allocations: 1.419 MB / 0.6019 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4727, allocations: 42.17 kB / 0.6019 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.4731, allocations: 435.2 kB / 0.6024 GB, free: 22.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.4732, allocations: 353.5 kB / 0.6027 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.4738, allocations: 373 kB / 0.6031 GB, free: 22.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4748, allocations: 1.934 MB / 0.6049 GB, free: 20.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.4766, allocations: 2.507 MB / 0.6074 GB, free: 17.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.4766, allocations: 20.88 kB / 0.6074 GB, free: 17.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002918/0.4795, allocations: 2.116 MB / 0.6095 GB, free: 16.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.4796, allocations: 31.19 kB / 0.6095 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.219e-05/0.4796, allocations: 60.72 kB / 0.6096 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-05/0.4797, allocations: 73.97 kB / 0.6096 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.4808, allocations: 486.1 kB / 0.6101 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.645e-05/0.4809, allocations: 108.4 kB / 0.6102 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4822, allocations: 334 kB / 0.6105 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.4825, allocations: 138.8 kB / 0.6107 GB, free: 16.51 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.0008718/0.4833, allocations: 0.8734 MB / 0.6115 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4835, allocations: 227.7 kB / 0.6117 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.4836, allocations: 241.7 kB / 0.612 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.4836, allocations: 178.3 kB / 0.6121 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.4837, allocations: 178.5 kB / 0.6123 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.4837, allocations: 181.5 kB / 0.6125 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.4853, allocations: 1.471 MB / 0.6139 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.4853, allocations: 107 kB / 0.614 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.4854, allocations: 110.4 kB / 0.6141 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.542e-05/0.4854, allocations: 185 kB / 0.6143 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4854, allocations: 186.8 kB / 0.6145 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/0.4854, allocations: 177 kB / 0.6146 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/0.4854, allocations: 184.8 kB / 0.6148 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.4856, allocations: 438.3 kB / 0.6152 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4858, allocations: 297.4 kB / 0.6155 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.4859, allocations: 183.1 kB / 0.6157 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4861, allocations: 107.7 kB / 0.6158 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4862, allocations: 178.1 kB / 0.616 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4862, allocations: 109.7 kB / 0.6161 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.4874, allocations: 1.018 MB / 0.6171 GB, free: 11.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4874, allocations: 0 / 0.6171 GB, free: 11.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001572/0.489, allocations: 433.6 kB / 0.6175 GB, free: 11.64 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.0003327/0.4893, allocations: 0.9408 MB / 0.6184 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4905, allocations: 0.8692 MB / 0.6192 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4905, allocations: 0.75 kB / 0.6192 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.4905, allocations: 3.031 kB / 0.6192 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.4912, allocations: 0.5676 MB / 0.6198 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.5053, allocations: 13.61 MB / 0.6331 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.5066, allocations: 1.577 MB / 0.6346 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.5077, allocations: 496.7 kB / 0.6351 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/0.5084, allocations: 0.6708 MB / 0.6358 GB, free: 14.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5084, allocations: 3.938 kB / 0.6358 GB, free: 14.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.5613, allocations: 21.81 MB / 0.6571 GB, free: 10.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.81, allocations: 14.94 kB / 0.6571 GB, free: 10.09 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.225584511179477]