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.001629/0.001629, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.00196/0.00196, allocations: 192 kB / 18.56 MB, free: 4.434 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.383/1.383, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2711/0.2711, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.28 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009731/0.1302, allocations: 8.717 MB / 478.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004468/0.1347, allocations: 2.254 MB / 480.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.1355, allocations: 43.94 kB / 480.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.1384, allocations: 1.538 MB / 481.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009627/0.1394, allocations: 465.3 kB / 482.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1396, allocations: 75.84 kB / 482.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1407, allocations: 0.9449 MB / 483.4 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.1422, allocations: 1.506 MB / 484.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.1428, allocations: 0.5372 MB / 485.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.1436, allocations: 0.681 MB / 486.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.1437, allocations: 120 kB / 486.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1441, allocations: 127.9 kB / 486.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006004/0.1447, allocations: 0.7325 MB / 487.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.1454, allocations: 0.8541 MB / 487.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.1473, allocations: 2.246 MB / 490.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1473, allocations: 4 kB / 490.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1473, allocations: 0 / 490.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.1474, allocations: 0 / 490.2 MB, free: 9.332 MB / 366.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.002465/0.1499, allocations: 1.955 MB / 492.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1499, allocations: 8.031 kB / 492.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003293/0.1502, allocations: 330.5 kB / 492.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.1508, allocations: 218.2 kB / 492.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.1518, allocations: 0.7147 MB / 493.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.1519, allocations: 119.4 kB / 493.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.1521, allocations: 151.9 kB / 493.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.156, allocations: 3.371 MB / 497 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.1561, allocations: 15.81 kB / 497 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.1562, allocations: 83.91 kB / 497.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007134/0.157, allocations: 0.611 MB / 497.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.1598, allocations: 1.869 MB / 499.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.1718, allocations: 13.53 MB / 0.5011 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.172, allocations: 165.1 kB / 0.5013 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.1721, allocations: 92.02 kB / 0.5014 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.1721, allocations: 75.28 kB / 0.5014 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.1722, allocations: 109.8 kB / 0.5015 GB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.845e-06/0.1722, allocations: 0 / 0.5015 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003392/0.1725, allocations: 148.1 kB / 0.5017 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.1726, allocations: 134.7 kB / 0.5018 GB, free: 0.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.185/0.3575, allocations: 1.652 MB / 0.5034 GB, free: 49.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3576, allocations: 25.7 kB / 0.5034 GB, free: 49.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.3585, allocations: 1.361 MB / 0.5048 GB, free: 48.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3586, allocations: 46.47 kB / 0.5048 GB, free: 48.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.3592, allocations: 425.5 kB / 0.5052 GB, free: 48.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3593, allocations: 355.6 kB / 0.5056 GB, free: 48.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.3601, allocations: 373.3 kB / 0.5059 GB, free: 48.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.3615, allocations: 1.932 MB / 0.5078 GB, free: 46.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.3634, allocations: 2.509 MB / 0.5103 GB, free: 43.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.3634, allocations: 16.38 kB / 0.5103 GB, free: 43.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003005/0.3664, allocations: 2.116 MB / 0.5123 GB, free: 42.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.3665, allocations: 30.36 kB / 0.5124 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/0.3665, allocations: 56.69 kB / 0.5124 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.547e-05/0.3666, allocations: 73.69 kB / 0.5125 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3677, allocations: 491 kB / 0.513 GB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.3678, allocations: 110 kB / 0.5131 GB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3691, allocations: 315.4 kB / 0.5134 GB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.3692, allocations: 146.5 kB / 0.5135 GB, free: 42.2 MB / 382.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.0008821/0.3701, allocations: 0.864 MB / 0.5143 GB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3703, allocations: 235.2 kB / 0.5146 GB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.3704, allocations: 225.8 kB / 0.5148 GB, free: 41.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.3705, allocations: 186.1 kB / 0.515 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.3705, allocations: 181.3 kB / 0.5151 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.3705, allocations: 178.2 kB / 0.5153 GB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.3722, allocations: 1.478 MB / 0.5167 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.3722, allocations: 105.6 kB / 0.5168 GB, free: 39.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.3722, allocations: 103 kB / 0.5169 GB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.3722, allocations: 187.1 kB / 0.5171 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3723, allocations: 178.8 kB / 0.5173 GB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/0.3723, allocations: 186.5 kB / 0.5175 GB, free: 39.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-05/0.3723, allocations: 178 kB / 0.5176 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3725, allocations: 436.9 kB / 0.5181 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.3727, allocations: 293.9 kB / 0.5183 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3728, allocations: 182 kB / 0.5185 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.3731, allocations: 107.4 kB / 0.5186 GB, free: 38.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.3731, allocations: 186.9 kB / 0.5188 GB, free: 37.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3731, allocations: 102.8 kB / 0.5189 GB, free: 37.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.3743, allocations: 1.02 MB / 0.5199 GB, free: 37.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3743, allocations: 0 / 0.5199 GB, free: 37.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001524/0.3758, allocations: 436.2 kB / 0.5203 GB, free: 37.35 MB / 382.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.0003047/0.3761, allocations: 0.937 MB / 0.5212 GB, free: 36.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3773, allocations: 0.8978 MB / 0.5221 GB, free: 36.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3773, allocations: 3.094 kB / 0.5221 GB, free: 36.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.3773, allocations: 0 / 0.5221 GB, free: 36.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.378, allocations: 0.577 MB / 0.5227 GB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.3916, allocations: 14.42 MB / 0.5367 GB, free: 24.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.3926, allocations: 1.583 MB / 0.5383 GB, free: 22.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.3937, allocations: 496.3 kB / 0.5388 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.3941, allocations: 0.6633 MB / 0.5394 GB, free: 21.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3942, allocations: 0 / 0.5394 GB, free: 21.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.4311, allocations: 21.23 MB / 0.5601 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.268, allocations: 12 kB / 0.5602 GB, free: 0.6797 MB / 382.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