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.0008549/0.0008549, allocations: 96.27 kB / 20.96 MB, free: 3.473 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.0008747/0.0008747, allocations: 152.9 kB / 24.26 MB, free: 176 kB / 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.9085/0.9085, allocations: 177 MB / 204.5 MB, free: 5.621 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.2578/0.2578, allocations: 34.24 MB / 295.2 MB, free: 0.6836 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.744e-06/1.744e-06, allocations: 0 / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.979e-05, allocations: 6.25 kB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006648/0.006678, allocations: 7.677 MB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.01104, allocations: 2.199 MB / 386.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.01209, allocations: 43.88 kB / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.01409, allocations: 1.592 MB / 388.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000939/0.01503, allocations: 0.5045 MB / 388.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.0153, allocations: 71.78 kB / 388.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009907/0.0163, allocations: 0.9592 MB / 389.7 MB, free: 6.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.01749, allocations: 1.237 MB / 391 MB, free: 5.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.01837, allocations: 0.8066 MB / 391.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.01908, allocations: 0.6193 MB / 392.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.01922, allocations: 120 kB / 392.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.01944, allocations: 136 kB / 392.7 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.0199, allocations: 0.7712 MB / 393.4 MB, free: 2.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.02023, allocations: 0.4906 MB / 393.9 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.02179, allocations: 2.254 MB / 396.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.02179, allocations: 0 / 396.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02179, allocations: 7.938 kB / 396.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.02181, allocations: 0 / 396.2 MB, free: 15.86 MB / 378.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.001566/0.02338, allocations: 1.893 MB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.02342, allocations: 8.031 kB / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.02363, allocations: 330.5 kB / 398.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.02408, allocations: 347.4 kB / 398.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.02475, allocations: 0.6813 MB / 399.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.02481, allocations: 115.3 kB / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.02491, allocations: 152.3 kB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.02736, allocations: 3.376 MB / 403.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.02739, allocations: 15.88 kB / 403.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.02746, allocations: 71.94 kB / 403.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/0.02787, allocations: 0.6188 MB / 403.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.0296, allocations: 1.862 MB / 405.6 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007649/0.03725, allocations: 12.95 MB / 418.6 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.03734, allocations: 173.1 kB / 418.7 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.03737, allocations: 84.14 kB / 418.8 MB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.0374, allocations: 75.28 kB / 418.9 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.03744, allocations: 105.8 kB / 419 MB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.03744, allocations: 0 / 419 MB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002506/0.03769, allocations: 164.8 kB / 419.2 MB, free: 7.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.03775, allocations: 134.6 kB / 419.3 MB, free: 7.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.03913, allocations: 1.747 MB / 421 MB, free: 6.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.03914, allocations: 25.7 kB / 421.1 MB, free: 6.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/0.03983, allocations: 1.396 MB / 422.5 MB, free: 4.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.03987, allocations: 51.95 kB / 422.5 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.04029, allocations: 415.2 kB / 422.9 MB, free: 4.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003947/0.04068, allocations: 357.9 kB / 423.3 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.04107, allocations: 367.8 kB / 423.6 MB, free: 3.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.04214, allocations: 1.929 MB / 425.6 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.04383, allocations: 2.511 MB / 428.1 MB, free: 13.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/0.04386, allocations: 16 kB / 428.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002623/0.04648, allocations: 2.24 MB / 430.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.04652, allocations: 35.94 kB / 430.4 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.04655, allocations: 59.94 kB / 430.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.867e-05/0.0466, allocations: 72 kB / 430.5 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.04726, allocations: 487.1 kB / 431 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.422e-05/0.04732, allocations: 107.6 kB / 431.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.04832, allocations: 333.5 kB / 431.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.04841, allocations: 140 kB / 431.5 MB, free: 9.93 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.0009127/0.04932, allocations: 0.8669 MB / 432.4 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.04944, allocations: 228.1 kB / 432.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.04957, allocations: 240.3 kB / 432.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/0.04961, allocations: 180.3 kB / 433 MB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/0.04966, allocations: 180.2 kB / 433.2 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/0.0497, allocations: 184.3 kB / 433.4 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.05083, allocations: 1.422 MB / 434.8 MB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/0.05086, allocations: 108.9 kB / 434.9 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.0509, allocations: 101 kB / 435 MB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.786e-05/0.05096, allocations: 184.2 kB / 435.2 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.05101, allocations: 184.2 kB / 435.4 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-05/0.05107, allocations: 180.3 kB / 435.6 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.755e-05/0.05113, allocations: 184.2 kB / 435.7 MB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.05157, allocations: 430 kB / 436.2 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.05179, allocations: 220.1 kB / 436.4 MB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.05189, allocations: 184.2 kB / 436.5 MB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.05204, allocations: 108.9 kB / 436.7 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.05208, allocations: 180.3 kB / 436.8 MB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.05211, allocations: 112.9 kB / 436.9 MB, free: 4.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008195/0.05293, allocations: 1.01 MB / 438 MB, free: 3.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05293, allocations: 0 / 438 MB, free: 3.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001094/0.05402, allocations: 438.6 kB / 438.4 MB, free: 2.875 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.0003881/0.05441, allocations: 0.9407 MB / 439.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.05531, allocations: 0.8723 MB / 440.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.05531, allocations: 4.25 kB / 440.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.05532, allocations: 0 / 440.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.05587, allocations: 0.5713 MB / 440.8 MB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.0674, allocations: 13.64 MB / 454.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1337/0.2011, allocations: 0.9885 MB / 455.4 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000873/0.202, allocations: 499.4 kB / 455.9 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.2027, allocations: 0.6631 MB / 456.6 MB, free: 117.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2027, allocations: 2.625 kB / 456.6 MB, free: 117.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.2424, allocations: 22.57 MB / 479.1 MB, free: 115 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.894, allocations: 0 / 479.1 MB, free: 115 MB / 426.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.878779206424952]