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.001686/0.001686, allocations: 109.7 kB / 21.1 MB, free: 0.7852 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.002081/0.002081, allocations: 189.5 kB / 24.36 MB, free: 4.219 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.404/1.404, allocations: 225.6 MB / 253.1 MB, free: 13.07 MB / 206.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.2415/0.2415, allocations: 44.91 MB / 353.2 MB, free: 11.97 MB / 286.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.002157/0.002157, allocations: 75.88 kB / 496.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 64.29 MB / 0.548 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01121/0.3452, allocations: 8.695 MB / 0.5565 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.3509, allocations: 2.261 MB / 0.5587 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.3522, allocations: 46.28 kB / 0.5587 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.3555, allocations: 1.555 MB / 0.5602 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.357, allocations: 497.2 kB / 0.5607 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3573, allocations: 79.89 kB / 0.5608 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3586, allocations: 0.9449 MB / 0.5617 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.36, allocations: 1.1 MB / 0.5628 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.3609, allocations: 0.5528 MB / 0.5633 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.3619, allocations: 0.7161 MB / 0.564 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.3621, allocations: 116 kB / 0.5641 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.3624, allocations: 127.9 kB / 0.5642 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007392/0.3632, allocations: 0.7556 MB / 0.565 GB, free: 14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.3641, allocations: 0.858 MB / 0.5658 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.3667, allocations: 2.364 MB / 0.5681 GB, free: 10.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3667, allocations: 7.938 kB / 0.5681 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3667, allocations: 0 / 0.5681 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.3667, allocations: 0 / 0.5681 GB, free: 10.76 MB / 414.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.003075/0.3698, allocations: 1.931 MB / 0.57 GB, free: 8.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.3699, allocations: 12.92 kB / 0.57 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004472/0.3703, allocations: 338.5 kB / 0.5704 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007542/0.3711, allocations: 227.4 kB / 0.5706 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.3726, allocations: 0.6663 MB / 0.5712 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.3727, allocations: 119.4 kB / 0.5713 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.3729, allocations: 151.9 kB / 0.5715 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/0.3776, allocations: 3.383 MB / 0.5748 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.3776, allocations: 11.88 kB / 0.5748 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3777, allocations: 75.94 kB / 0.5749 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008087/0.3785, allocations: 0.6149 MB / 0.5755 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.3818, allocations: 1.858 MB / 0.5773 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.3958, allocations: 13.38 MB / 0.5904 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3959, allocations: 177 kB / 0.5905 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.396, allocations: 80.14 kB / 0.5906 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.396, allocations: 79.27 kB / 0.5907 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.3961, allocations: 109.9 kB / 0.5908 GB, free: 2.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.454e-06/0.3961, allocations: 4 kB / 0.5908 GB, free: 2.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002882/0.3964, allocations: 164.8 kB / 0.5909 GB, free: 2.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.3965, allocations: 126.7 kB / 0.5911 GB, free: 2.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.3986, allocations: 1.656 MB / 0.5927 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3986, allocations: 25.7 kB / 0.5927 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.3997, allocations: 1.427 MB / 0.5941 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3997, allocations: 43.95 kB / 0.5941 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.4001, allocations: 423.2 kB / 0.5945 GB, free: 14.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003334/0.4005, allocations: 357.9 kB / 0.5949 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.401, allocations: 371.8 kB / 0.5952 GB, free: 14.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.4029, allocations: 1.933 MB / 0.5971 GB, free: 11.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.4058, allocations: 2.507 MB / 0.5996 GB, free: 8.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/0.4058, allocations: 20 kB / 0.5996 GB, free: 7.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003373/0.4092, allocations: 2.123 MB / 0.6017 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.4093, allocations: 31.94 kB / 0.6017 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.498e-05/0.4093, allocations: 60 kB / 0.6018 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.169e-05/0.4094, allocations: 72 kB / 0.6018 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4106, allocations: 487 kB / 0.6023 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.782e-05/0.4107, allocations: 112.2 kB / 0.6024 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4121, allocations: 329.5 kB / 0.6027 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.4123, allocations: 140 kB / 0.6028 GB, free: 4.656 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.001169/0.4134, allocations: 0.8781 MB / 0.6037 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.4136, allocations: 232.1 kB / 0.6039 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.4138, allocations: 232.4 kB / 0.6041 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-05/0.4139, allocations: 176.3 kB / 0.6043 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-05/0.414, allocations: 180.2 kB / 0.6045 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.102e-05/0.4141, allocations: 184.3 kB / 0.6047 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4158, allocations: 1.457 MB / 0.6061 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.4159, allocations: 108.9 kB / 0.6062 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.4159, allocations: 101 kB / 0.6063 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-05/0.416, allocations: 180.3 kB / 0.6065 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/0.4161, allocations: 180.2 kB / 0.6066 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.608e-05/0.4161, allocations: 176.3 kB / 0.6068 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.043e-05/0.4162, allocations: 184.2 kB / 0.607 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.4165, allocations: 442.1 kB / 0.6074 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.4168, allocations: 228 kB / 0.6076 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.417, allocations: 176.3 kB / 0.6078 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.4173, allocations: 104.9 kB / 0.6079 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.4174, allocations: 184.3 kB / 0.6081 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.4174, allocations: 105 kB / 0.6082 GB, free: 15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.4187, allocations: 1.022 MB / 0.6092 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4187, allocations: 0 / 0.6092 GB, free: 13.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001585/0.4203, allocations: 434.7 kB / 0.6096 GB, free: 13.56 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.0006408/0.421, allocations: 0.9446 MB / 0.6105 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.4223, allocations: 0.8646 MB / 0.6113 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4223, allocations: 0 / 0.6113 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.4223, allocations: 11.92 kB / 0.6113 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.4233, allocations: 0.5676 MB / 0.6119 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.4425, allocations: 13.62 MB / 0.6252 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.4441, allocations: 1.583 MB / 0.6267 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.4453, allocations: 487.4 kB / 0.6272 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/0.4461, allocations: 0.6672 MB / 0.6279 GB, free: 8.969 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4461, allocations: 0 / 0.6279 GB, free: 8.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/0.5062, allocations: 23.43 MB / 0.6507 GB, free: 1.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.81, allocations: 9.766 kB / 0.6508 GB, free: 1.73 MB / 494.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.82189871603623]