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.001498/0.001498, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001532/0.001532, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2267/0.2267, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.001969/0.001969, allocations: 59.91 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 66.04 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009656/0.3351, allocations: 7.67 MB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004793/0.3399, allocations: 2.182 MB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.3406, allocations: 47.88 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.3437, allocations: 1.487 MB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3447, allocations: 493.3 kB / 0.5722 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.345, allocations: 71.84 kB / 0.5723 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3461, allocations: 0.9293 MB / 0.5732 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3479, allocations: 1.209 MB / 0.5744 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.3486, allocations: 0.5411 MB / 0.5749 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3496, allocations: 0.7239 MB / 0.5756 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.3498, allocations: 116 kB / 0.5757 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.3502, allocations: 123.9 kB / 0.5758 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007077/0.3509, allocations: 0.7439 MB / 0.5765 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.3516, allocations: 0.6444 MB / 0.5772 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.3539, allocations: 2.345 MB / 0.5795 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3539, allocations: 0 / 0.5795 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3539, allocations: 7.938 kB / 0.5795 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.3539, allocations: 0 / 0.5795 GB, free: 0.7695 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.002589/0.3565, allocations: 1.92 MB / 0.5813 GB, free: 14.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3566, allocations: 8.031 kB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/0.3569, allocations: 330.5 kB / 0.5817 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.3575, allocations: 231.3 kB / 0.5819 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.3586, allocations: 0.6625 MB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.3587, allocations: 123.3 kB / 0.5827 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.3589, allocations: 151.9 kB / 0.5828 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.363, allocations: 3.375 MB / 0.5861 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/0.3631, allocations: 15.88 kB / 0.5861 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.3632, allocations: 71.94 kB / 0.5862 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007608/0.364, allocations: 0.6227 MB / 0.5868 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.3669, allocations: 1.862 MB / 0.5886 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.3802, allocations: 12.97 MB / 0.6013 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3804, allocations: 177.1 kB / 0.6014 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.3804, allocations: 88.06 kB / 0.6015 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.3805, allocations: 75.28 kB / 0.6016 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.3805, allocations: 113.8 kB / 0.6017 GB, free: 9.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.3805, allocations: 0 / 0.6017 GB, free: 9.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003373/0.3809, allocations: 152.8 kB / 0.6018 GB, free: 8.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.381, allocations: 130.7 kB / 0.602 GB, free: 8.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.3835, allocations: 1.747 MB / 0.6037 GB, free: 7.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3835, allocations: 25.7 kB / 0.6037 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.3848, allocations: 1.416 MB / 0.6051 GB, free: 5.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.3848, allocations: 51.89 kB / 0.6051 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/0.3854, allocations: 427.2 kB / 0.6055 GB, free: 5.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3856, allocations: 357.9 kB / 0.6059 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.3861, allocations: 367.8 kB / 0.6062 GB, free: 4.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.3881, allocations: 1.925 MB / 0.6081 GB, free: 1.676 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.3913, allocations: 2.511 MB / 0.6106 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/0.3914, allocations: 16 kB / 0.6106 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003511/0.3949, allocations: 2.127 MB / 0.6127 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.3949, allocations: 28 kB / 0.6127 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-05/0.395, allocations: 59.94 kB / 0.6127 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.305e-05/0.3951, allocations: 76 kB / 0.6128 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3963, allocations: 483.1 kB / 0.6133 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.46e-05/0.3964, allocations: 115.5 kB / 0.6134 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.3978, allocations: 329.5 kB / 0.6137 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.3979, allocations: 136 kB / 0.6138 GB, free: 11.01 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.001127/0.399, allocations: 0.8629 MB / 0.6147 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.3993, allocations: 236.1 kB / 0.6149 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3995, allocations: 236.1 kB / 0.6151 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.139e-05/0.3996, allocations: 176.3 kB / 0.6153 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.488e-05/0.3996, allocations: 184.3 kB / 0.6155 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.886e-05/0.3997, allocations: 188.2 kB / 0.6156 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.4013, allocations: 1.418 MB / 0.617 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/0.4014, allocations: 112.9 kB / 0.6171 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.4014, allocations: 105 kB / 0.6172 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.673e-05/0.4015, allocations: 180.3 kB / 0.6174 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.4016, allocations: 180.2 kB / 0.6176 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.114e-05/0.4017, allocations: 180.3 kB / 0.6178 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.351e-05/0.4018, allocations: 184.2 kB / 0.6179 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4021, allocations: 433.9 kB / 0.6183 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.4024, allocations: 224.1 kB / 0.6186 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.4025, allocations: 188.2 kB / 0.6187 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.4029, allocations: 104.9 kB / 0.6188 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.403, allocations: 176.3 kB / 0.619 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.403, allocations: 109 kB / 0.6191 GB, free: 5.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.4043, allocations: 1.014 MB / 0.6201 GB, free: 4.375 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 0 / 0.6201 GB, free: 4.375 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001568/0.4059, allocations: 438.6 kB / 0.6205 GB, free: 3.945 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.0006299/0.4065, allocations: 0.9368 MB / 0.6214 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.4079, allocations: 0.8687 MB / 0.6223 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4079, allocations: 0 / 0.6223 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.4079, allocations: 15.94 kB / 0.6223 GB, free: 2.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.4088, allocations: 0.5675 MB / 0.6229 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.4273, allocations: 13.6 MB / 0.6361 GB, free: 2.152 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4286, allocations: 0.9885 MB / 0.6371 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.4298, allocations: 0.4914 MB / 0.6376 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007893/0.4306, allocations: 0.6673 MB / 0.6382 GB, free: 15.95 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4306, allocations: 0 / 0.6382 GB, free: 15.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.4898, allocations: 22.96 MB / 0.6606 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.36, allocations: 5.75 kB / 0.6607 GB, free: 9.316 MB / 0.4981 GB " [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.606278021004982]