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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 184.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009165/0.3396, allocations: 8.72 MB / 0.5269 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005668/0.3453, allocations: 2.243 MB / 0.5291 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3465, allocations: 41.53 kB / 0.5292 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.3498, allocations: 1.535 MB / 0.5307 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.3513, allocations: 476.4 kB / 0.5311 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3517, allocations: 74.84 kB / 0.5312 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.3531, allocations: 0.942 MB / 0.5321 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.3549, allocations: 1.506 MB / 0.5336 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000847/0.3557, allocations: 0.5352 MB / 0.5341 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.3568, allocations: 0.6814 MB / 0.5348 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.3571, allocations: 118.4 kB / 0.5349 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.3575, allocations: 129.4 kB / 0.535 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007326/0.3582, allocations: 0.7317 MB / 0.5357 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.3592, allocations: 0.8586 MB / 0.5366 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.3621, allocations: 2.35 MB / 0.5389 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3622, allocations: 1.031 kB / 0.5389 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3622, allocations: 0 / 0.5389 GB, free: 5.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.62e-05/0.3623, allocations: 0 / 0.5389 GB, free: 5.418 MB / 398.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.003487/0.3658, allocations: 2.004 MB / 0.5408 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.3659, allocations: 13.56 kB / 0.5408 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005629/0.3664, allocations: 338.8 kB / 0.5411 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006977/0.3671, allocations: 221.8 kB / 0.5414 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3684, allocations: 0.7263 MB / 0.5421 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.3685, allocations: 116.8 kB / 0.5422 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3687, allocations: 152.2 kB / 0.5423 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/0.3736, allocations: 3.384 MB / 0.5456 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.3736, allocations: 15.88 kB / 0.5456 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.3738, allocations: 71.94 kB / 0.5457 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007546/0.3745, allocations: 0.6149 MB / 0.5463 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.3776, allocations: 1.862 MB / 0.5481 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.391, allocations: 13.51 MB / 0.5613 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3912, allocations: 169.1 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.3912, allocations: 88.02 kB / 0.5616 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3913, allocations: 83.28 kB / 0.5617 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.3913, allocations: 105.8 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 4.238e-06/0.3914, allocations: 7.984 kB / 0.5618 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003075/0.3917, allocations: 160.8 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3918, allocations: 126.7 kB / 0.562 GB, free: 14.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.3939, allocations: 1.659 MB / 0.5637 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.394, allocations: 25.7 kB / 0.5637 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.395, allocations: 1.419 MB / 0.5651 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3951, allocations: 43.95 kB / 0.5651 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000477/0.3955, allocations: 423.2 kB / 0.5655 GB, free: 10.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3957, allocations: 361.9 kB / 0.5659 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.3963, allocations: 375.8 kB / 0.5662 GB, free: 10.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.3981, allocations: 1.921 MB / 0.5681 GB, free: 7.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.4009, allocations: 2.511 MB / 0.5705 GB, free: 4.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.4009, allocations: 16 kB / 0.5706 GB, free: 4.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003722/0.4047, allocations: 2.123 MB / 0.5726 GB, free: 1.973 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.4047, allocations: 35.98 kB / 0.5727 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/0.4048, allocations: 56 kB / 0.5727 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.578e-05/0.4049, allocations: 72 kB / 0.5728 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4061, allocations: 487.8 kB / 0.5733 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.154e-05/0.4062, allocations: 107.6 kB / 0.5734 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.4077, allocations: 325.6 kB / 0.5737 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.4079, allocations: 144 kB / 0.5738 GB, free: 0.7695 MB / 430.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.001314/0.4092, allocations: 0.8588 MB / 0.5746 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.4095, allocations: 244 kB / 0.5749 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.4097, allocations: 228.5 kB / 0.5751 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-05/0.4098, allocations: 180.3 kB / 0.5753 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/0.4099, allocations: 184.3 kB / 0.5754 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.41, allocations: 180.3 kB / 0.5756 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.4118, allocations: 1.481 MB / 0.5771 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-05/0.4119, allocations: 108.9 kB / 0.5772 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.4119, allocations: 105 kB / 0.5773 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.829e-05/0.412, allocations: 184.3 kB / 0.5774 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.4121, allocations: 184.2 kB / 0.5776 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.4122, allocations: 176.3 kB / 0.5778 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.907e-05/0.4123, allocations: 188.2 kB / 0.578 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4126, allocations: 430.1 kB / 0.5784 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.4129, allocations: 313 kB / 0.5787 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.4131, allocations: 176.3 kB / 0.5788 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.4134, allocations: 108.9 kB / 0.5789 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.4135, allocations: 184.2 kB / 0.5791 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.4136, allocations: 104.9 kB / 0.5792 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.4149, allocations: 1.022 MB / 0.5802 GB, free: 9.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4149, allocations: 0 / 0.5802 GB, free: 9.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001795/0.4167, allocations: 430.7 kB / 0.5806 GB, free: 9.547 MB / 446.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.000658/0.4174, allocations: 0.9485 MB / 0.5816 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.419, allocations: 0.8995 MB / 0.5824 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4191, allocations: 0 / 0.5824 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.4191, allocations: 3.938 kB / 0.5824 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4201, allocations: 0.5718 MB / 0.583 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/0.4395, allocations: 13.63 MB / 0.5963 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.4411, allocations: 1.572 MB / 0.5978 GB, free: 6.066 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.4422, allocations: 499.4 kB / 0.5983 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/0.443, allocations: 0.6672 MB / 0.599 GB, free: 4.906 MB / 462.1 MB Notification: Performance of SimCode: time 2.975e-06/0.4431, allocations: 0 / 0.599 GB, free: 4.906 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05414/0.4972, allocations: 21.73 MB / 0.6202 GB, free: 15.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.95, allocations: 4.125 kB / 0.6202 GB, free: 15.35 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/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) Reference file matches