Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.0008565/0.0008565, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008915/0.0008915, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9128/0.9128, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2374/0.2374, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 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.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.705e-05, allocations: 2.281 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1932/0.1932, allocations: 7.661 MB / 449.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1954, allocations: 2.197 MB / 452 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.1957, allocations: 47.53 kB / 452.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.197, allocations: 1.564 MB / 453.6 MB, free: 38.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.1975, allocations: 0.4994 MB / 454.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.1976, allocations: 84.19 kB / 454.2 MB, free: 37.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.1981, allocations: 0.9551 MB / 455.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.1988, allocations: 1.206 MB / 456.4 MB, free: 36.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.1992, allocations: 0.8076 MB / 457.2 MB, free: 36.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.1996, allocations: 0.6151 MB / 457.8 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.07e-05/0.1997, allocations: 119 kB / 457.9 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1999, allocations: 138.5 kB / 458 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.2002, allocations: 0.7691 MB / 458.8 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.2004, allocations: 0.4951 MB / 459.3 MB, free: 35.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000993/0.2014, allocations: 2.256 MB / 461.6 MB, free: 34.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2014, allocations: 0 / 461.6 MB, free: 34.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2014, allocations: 0 / 461.6 MB, free: 34.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.2014, allocations: 0 / 461.6 MB, free: 34.85 MB / 410.7 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.001309/0.2028, allocations: 1.899 MB / 463.5 MB, free: 33.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2028, allocations: 9.5 kB / 463.5 MB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.203, allocations: 333.6 kB / 463.8 MB, free: 33.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.2033, allocations: 224.6 kB / 464 MB, free: 33.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.2039, allocations: 0.6662 MB / 464.7 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.2039, allocations: 115.1 kB / 464.8 MB, free: 32.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.204, allocations: 152.3 kB / 464.9 MB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.2059, allocations: 3.383 MB / 468.3 MB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.206, allocations: 17.88 kB / 468.3 MB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.206, allocations: 73.53 kB / 468.4 MB, free: 30.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/0.2064, allocations: 0.6172 MB / 469 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.2079, allocations: 1.86 MB / 470.9 MB, free: 30.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.2126, allocations: 12.93 MB / 483.8 MB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.2127, allocations: 172.3 kB / 484 MB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.2127, allocations: 84.14 kB / 484.1 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2127, allocations: 82.41 kB / 484.1 MB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2127, allocations: 105.8 kB / 484.2 MB, free: 19.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2127, allocations: 0 / 484.2 MB, free: 19.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001215/0.2128, allocations: 158.1 kB / 484.4 MB, free: 19.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2129, allocations: 130.6 kB / 484.5 MB, free: 18.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.214, allocations: 1.748 MB / 486.3 MB, free: 18.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.214, allocations: 25.7 kB / 486.3 MB, free: 18.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.2144, allocations: 1.4 MB / 487.7 MB, free: 17.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2144, allocations: 44.86 kB / 487.7 MB, free: 17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.2147, allocations: 421.3 kB / 488.2 MB, free: 16.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.2148, allocations: 354.7 kB / 488.5 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.2152, allocations: 376.7 kB / 488.9 MB, free: 16.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2162, allocations: 1.925 MB / 490.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.2178, allocations: 2.508 MB / 493.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/0.2178, allocations: 15.81 kB / 493.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002282/0.2201, allocations: 2.116 MB / 495.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.2201, allocations: 33.78 kB / 495.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/0.2202, allocations: 61.81 kB / 495.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.21e-05/0.2202, allocations: 74.16 kB / 495.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.221, allocations: 486.5 kB / 496.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-05/0.221, allocations: 111.3 kB / 496.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.2218, allocations: 330 kB / 496.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.222, allocations: 137.6 kB / 496.6 MB, free: 10.25 MB / 410.7 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.0006914/0.2226, allocations: 0.87 MB / 497.5 MB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.2227, allocations: 236.2 kB / 497.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2229, allocations: 224.5 kB / 498 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.2229, allocations: 185.2 kB / 498.1 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.2229, allocations: 181.3 kB / 498.3 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.2229, allocations: 184.5 kB / 498.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.224, allocations: 1.415 MB / 499.9 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.224, allocations: 106.5 kB / 0.4883 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.224, allocations: 105.1 kB / 0.4884 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.224, allocations: 185.4 kB / 0.4886 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.224, allocations: 191.9 kB / 0.4888 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/0.2241, allocations: 180.8 kB / 0.4889 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-05/0.2241, allocations: 185.3 kB / 0.4891 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2242, allocations: 425.8 kB / 0.4895 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2243, allocations: 229.1 kB / 0.4897 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-05/0.2244, allocations: 185.5 kB / 0.4899 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2245, allocations: 111 kB / 0.49 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.2245, allocations: 177.9 kB / 0.4902 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2246, allocations: 102.1 kB / 0.4903 GB, free: 6.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008385/0.2254, allocations: 1.013 MB / 0.4913 GB, free: 5.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2254, allocations: 4 kB / 0.4913 GB, free: 5.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001001/0.2264, allocations: 429.2 kB / 0.4917 GB, free: 5.531 MB / 410.7 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.0003306/0.2267, allocations: 0.9407 MB / 0.4926 GB, free: 4.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.2276, allocations: 0.8736 MB / 0.4935 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2276, allocations: 0 / 0.4935 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.2276, allocations: 4.688 kB / 0.4935 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.2281, allocations: 0.572 MB / 0.494 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.2414, allocations: 13.48 MB / 0.5072 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.2426, allocations: 0.9917 MB / 0.5082 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008905/0.2435, allocations: 498.1 kB / 0.5086 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.244, allocations: 0.6682 MB / 0.5093 GB, free: 9.598 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.244, allocations: 4 kB / 0.5093 GB, free: 9.594 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2753, allocations: 22.34 MB / 0.5311 GB, free: 6.902 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.606, allocations: 14.02 kB / 0.5311 GB, free: 6.895 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.737805479206145]