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.001333/0.001333, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001466/0.001466, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2398/0.2398, allocations: 46.94 MB / 361.6 MB, free: 3.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 79.88 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3849, allocations: 66.07 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01064/0.3956, allocations: 7.619 MB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006215/0.4018, allocations: 2.174 MB / 0.571 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.4034, allocations: 47.88 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.4075, allocations: 1.487 MB / 0.5725 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4095, allocations: 497.3 kB / 0.573 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.41, allocations: 75.84 kB / 0.5731 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.4119, allocations: 0.9176 MB / 0.574 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.4141, allocations: 1.205 MB / 0.5751 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.4153, allocations: 0.545 MB / 0.5757 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.4169, allocations: 0.7239 MB / 0.5764 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.4173, allocations: 120 kB / 0.5765 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.418, allocations: 123.9 kB / 0.5766 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.4191, allocations: 0.7439 MB / 0.5773 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.4204, allocations: 0.6405 MB / 0.578 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.424, allocations: 2.349 MB / 0.5803 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.424, allocations: 0 / 0.5803 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.424, allocations: 0 / 0.5803 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.4241, allocations: 0 / 0.5803 GB, free: 0.6562 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.004851/0.429, allocations: 1.928 MB / 0.5821 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.429, allocations: 12.03 kB / 0.5821 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.287e-05/0.4291, allocations: 47.23 kB / 0.5822 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007445/0.4299, allocations: 334.5 kB / 0.5825 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009174/0.4308, allocations: 219.4 kB / 0.5827 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.4326, allocations: 0.6702 MB / 0.5834 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4327, allocations: 119.1 kB / 0.5835 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.4331, allocations: 148 kB / 0.5836 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006367/0.4395, allocations: 3.383 MB / 0.5869 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.4395, allocations: 15.88 kB / 0.5869 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.4398, allocations: 71.94 kB / 0.587 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009314/0.4408, allocations: 0.6149 MB / 0.5876 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/0.4448, allocations: 1.862 MB / 0.5894 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.4612, allocations: 12.98 MB / 0.6021 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.4614, allocations: 169.1 kB / 0.6023 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.4614, allocations: 88.08 kB / 0.6024 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.4615, allocations: 79.27 kB / 0.6024 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/0.4615, allocations: 109.8 kB / 0.6025 GB, free: 8.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.605e-06/0.4615, allocations: 0 / 0.6025 GB, free: 8.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004099/0.462, allocations: 152.9 kB / 0.6027 GB, free: 8.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.462, allocations: 126.7 kB / 0.6028 GB, free: 8.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.4649, allocations: 1.651 MB / 0.6044 GB, free: 7.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4649, allocations: 25.7 kB / 0.6044 GB, free: 6.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.4662, allocations: 1.419 MB / 0.6058 GB, free: 5.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.4663, allocations: 43.95 kB / 0.6059 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006263/0.4669, allocations: 423.2 kB / 0.6063 GB, free: 5.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.4672, allocations: 361.9 kB / 0.6066 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.4678, allocations: 375.8 kB / 0.607 GB, free: 4.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.4698, allocations: 1.929 MB / 0.6089 GB, free: 1.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.473, allocations: 2.507 MB / 0.6113 GB, free: 14.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.755e-05/0.473, allocations: 23.88 kB / 0.6113 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004201/0.4772, allocations: 2.124 MB / 0.6134 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.4773, allocations: 28 kB / 0.6134 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/0.4774, allocations: 56 kB / 0.6135 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.4775, allocations: 76 kB / 0.6136 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.4789, allocations: 491 kB / 0.614 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001071/0.479, allocations: 111.6 kB / 0.6141 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.481, allocations: 329.5 kB / 0.6144 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.4813, allocations: 136 kB / 0.6146 GB, free: 10.93 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.001783/0.4831, allocations: 0.8718 MB / 0.6154 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.4834, allocations: 228.1 kB / 0.6156 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.4838, allocations: 232.2 kB / 0.6159 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-05/0.4839, allocations: 184.3 kB / 0.616 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.43e-05/0.484, allocations: 184.2 kB / 0.6162 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-05/0.4841, allocations: 180.3 kB / 0.6164 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.4866, allocations: 1.422 MB / 0.6178 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.573e-05/0.4866, allocations: 109 kB / 0.6179 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.4867, allocations: 108.9 kB / 0.618 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.576e-05/0.4868, allocations: 180.3 kB / 0.6182 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.4869, allocations: 176.3 kB / 0.6183 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.324e-05/0.487, allocations: 180.2 kB / 0.6185 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-05/0.487, allocations: 184.2 kB / 0.6187 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4875, allocations: 437.9 kB / 0.6191 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.4879, allocations: 224 kB / 0.6193 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.4882, allocations: 180.3 kB / 0.6195 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.4887, allocations: 101 kB / 0.6196 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.4888, allocations: 184.2 kB / 0.6197 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.4888, allocations: 105 kB / 0.6198 GB, free: 5.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001963/0.4908, allocations: 1.018 MB / 0.6208 GB, free: 4.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4908, allocations: 0 / 0.6208 GB, free: 4.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002168/0.4929, allocations: 434.7 kB / 0.6213 GB, free: 3.875 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.0008866/0.4938, allocations: 0.9406 MB / 0.6222 GB, free: 2.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.4957, allocations: 0.8647 MB / 0.623 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4957, allocations: 0 / 0.623 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-06/0.4957, allocations: 0 / 0.623 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.497, allocations: 0.596 MB / 0.6236 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/0.5222, allocations: 13.6 MB / 0.6369 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.5242, allocations: 0.9924 MB / 0.6378 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001347/0.5256, allocations: 499.2 kB / 0.6383 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.5267, allocations: 0.6673 MB / 0.639 GB, free: 15.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.735e-06/0.5267, allocations: 0 / 0.639 GB, free: 15.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06091/0.5876, allocations: 22.7 MB / 0.6611 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.13, allocations: 10.72 kB / 0.6611 GB, free: 9.473 MB / 0.4981 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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: 18.823413723963313]