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.001799/0.001799, allocations: 109 kB / 21.1 MB, free: 0.7695 MB / 14.72 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.002334/0.002334, allocations: 205.4 kB / 24.38 MB, free: 4.188 MB / 14.72 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 1.532/1.532, allocations: 230.2 MB / 257.7 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] 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.232/0.232, allocations: 46.89 MB / 361 MB, free: 4.469 MB / 286.1 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 0.002341/0.002341, allocations: 83.86 kB / 0.4962 GB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3353, allocations: 66.03 MB / 0.5607 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01033/0.3456, allocations: 8.686 MB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.3505, allocations: 2.307 MB / 0.5714 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.3516, allocations: 39.94 kB / 0.5714 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.3548, allocations: 1.565 MB / 0.573 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.356, allocations: 497.2 kB / 0.5734 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3564, allocations: 71.91 kB / 0.5735 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.3577, allocations: 0.9254 MB / 0.5744 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.3591, allocations: 1.104 MB / 0.5755 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.3598, allocations: 0.541 MB / 0.576 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.3608, allocations: 0.72 MB / 0.5767 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.3611, allocations: 120 kB / 0.5768 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.3614, allocations: 124 kB / 0.577 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.3621, allocations: 0.7439 MB / 0.5777 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.3629, allocations: 0.8464 MB / 0.5785 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.3655, allocations: 2.333 MB / 0.5808 GB, free: 15.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.3655, allocations: 3.984 kB / 0.5808 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3655, allocations: 0 / 0.5808 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.035e-05/0.3656, allocations: 0 / 0.5808 GB, free: 15.94 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.003123/0.3688, allocations: 1.995 MB / 0.5827 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3688, allocations: 12.03 kB / 0.5828 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004113/0.3692, allocations: 334.5 kB / 0.5831 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.3698, allocations: 223.4 kB / 0.5833 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3709, allocations: 0.7267 MB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.805e-05/0.371, allocations: 115.4 kB / 0.5841 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3712, allocations: 155.9 kB / 0.5843 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.376, allocations: 3.383 MB / 0.5876 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.376, allocations: 15.88 kB / 0.5876 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.3762, allocations: 71.94 kB / 0.5876 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008121/0.377, allocations: 0.6149 MB / 0.5882 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.3804, allocations: 1.858 MB / 0.5901 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.3939, allocations: 13.5 MB / 0.6032 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.394, allocations: 169.1 kB / 0.6034 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.394, allocations: 84.08 kB / 0.6035 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.3941, allocations: 79.27 kB / 0.6036 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.3941, allocations: 113.8 kB / 0.6037 GB, free: 7.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.3941, allocations: 0 / 0.6037 GB, free: 7.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002914/0.3944, allocations: 160.7 kB / 0.6038 GB, free: 7.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.3945, allocations: 126.7 kB / 0.6039 GB, free: 7.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.3967, allocations: 1.651 MB / 0.6056 GB, free: 5.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3967, allocations: 25.7 kB / 0.6056 GB, free: 5.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.3978, allocations: 1.42 MB / 0.607 GB, free: 4.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.3979, allocations: 43.95 kB / 0.607 GB, free: 4.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.3983, allocations: 427.1 kB / 0.6074 GB, free: 3.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3985, allocations: 353.9 kB / 0.6078 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.3991, allocations: 371.8 kB / 0.6081 GB, free: 3.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.401, allocations: 1.933 MB / 0.61 GB, free: 268 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.4039, allocations: 2.511 MB / 0.6124 GB, free: 12.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.192e-05/0.4039, allocations: 16 kB / 0.6125 GB, free: 12.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003639/0.4076, allocations: 2.119 MB / 0.6145 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.4076, allocations: 29 kB / 0.6146 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/0.4077, allocations: 60 kB / 0.6146 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.514e-05/0.4078, allocations: 83.94 kB / 0.6147 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.409, allocations: 491 kB / 0.6152 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.382e-05/0.4091, allocations: 107.6 kB / 0.6153 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.4106, allocations: 325.5 kB / 0.6156 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.4107, allocations: 140 kB / 0.6157 GB, free: 9.59 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.001155/0.4119, allocations: 0.8705 MB / 0.6166 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.4121, allocations: 232.1 kB / 0.6168 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.4124, allocations: 232.1 kB / 0.617 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.579e-05/0.4124, allocations: 176.3 kB / 0.6172 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.999e-05/0.4125, allocations: 184.3 kB / 0.6173 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.3e-05/0.4126, allocations: 184.2 kB / 0.6175 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.4145, allocations: 1.473 MB / 0.619 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.264e-05/0.4145, allocations: 108.9 kB / 0.6191 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.4146, allocations: 105 kB / 0.6192 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/0.4146, allocations: 184.3 kB / 0.6193 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.4147, allocations: 180.2 kB / 0.6195 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.368e-05/0.4148, allocations: 184.3 kB / 0.6197 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-05/0.4149, allocations: 180.2 kB / 0.6199 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.4152, allocations: 437.9 kB / 0.6203 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.4155, allocations: 297.2 kB / 0.6206 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.4157, allocations: 184.2 kB / 0.6207 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.416, allocations: 108.9 kB / 0.6208 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.4161, allocations: 176.3 kB / 0.621 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.4161, allocations: 104.9 kB / 0.6211 GB, free: 3.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.4176, allocations: 1.018 MB / 0.6221 GB, free: 2.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4176, allocations: 0 / 0.6221 GB, free: 2.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001831/0.4194, allocations: 438.6 kB / 0.6225 GB, free: 2.375 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.000671/0.4201, allocations: 0.9368 MB / 0.6234 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.4215, allocations: 0.8682 MB / 0.6243 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4215, allocations: 4.438 kB / 0.6243 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.4216, allocations: 4 kB / 0.6243 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.4225, allocations: 0.5696 MB / 0.6249 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.4401, allocations: 13.59 MB / 0.6381 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.4415, allocations: 1.572 MB / 0.6397 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001125/0.4427, allocations: 0.4953 MB / 0.6401 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/0.4434, allocations: 0.6633 MB / 0.6408 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4434, allocations: 0 / 0.6408 GB, free: 13.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.4971, allocations: 23.26 MB / 0.6635 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.7, allocations: 0 / 0.6635 GB, free: 6.691 MB / 0.4981 GB " [Timeout remaining time 648] (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/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_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: 14.808288981905207]