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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 71.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3859, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009512/0.3955, allocations: 8.694 MB / 0.539 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005295/0.4008, allocations: 2.288 MB / 0.5412 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.4027, allocations: 41 kB / 0.5413 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.4061, allocations: 1.546 MB / 0.5428 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.408, allocations: 468.2 kB / 0.5432 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.4084, allocations: 75.62 kB / 0.5433 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.41, allocations: 0.9308 MB / 0.5442 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.4119, allocations: 1.496 MB / 0.5457 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.4127, allocations: 0.5317 MB / 0.5462 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/0.4135, allocations: 0.6819 MB / 0.5468 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.4137, allocations: 124 kB / 0.547 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.4141, allocations: 127.9 kB / 0.5471 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.4147, allocations: 0.7247 MB / 0.5478 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.4156, allocations: 0.8541 MB / 0.5486 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.4178, allocations: 2.323 MB / 0.5509 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4178, allocations: 0 / 0.5509 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4178, allocations: 0 / 0.5509 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.4179, allocations: 0 / 0.5509 GB, free: 12.82 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.002414/0.4203, allocations: 1.944 MB / 0.5528 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4204, allocations: 12.03 kB / 0.5528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003022/0.4207, allocations: 334.5 kB / 0.5531 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005603/0.4212, allocations: 210.1 kB / 0.5533 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4224, allocations: 0.7187 MB / 0.554 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.4225, allocations: 115.4 kB / 0.5541 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.4227, allocations: 151.9 kB / 0.5543 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.4265, allocations: 3.379 MB / 0.5576 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.4266, allocations: 15.88 kB / 0.5576 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.4268, allocations: 75.94 kB / 0.5577 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006632/0.4274, allocations: 0.6188 MB / 0.5583 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.4303, allocations: 1.862 MB / 0.5601 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.4428, allocations: 13.48 MB / 0.5732 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.4429, allocations: 177.1 kB / 0.5734 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.443, allocations: 84.08 kB / 0.5735 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.443, allocations: 75.28 kB / 0.5736 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.443, allocations: 109.8 kB / 0.5737 GB, free: 4.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 3.667e-06/0.443, allocations: 0 / 0.5737 GB, free: 4.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002782/0.4433, allocations: 148.1 kB / 0.5738 GB, free: 4.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.4434, allocations: 134.6 kB / 0.5739 GB, free: 4.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.4454, allocations: 1.646 MB / 0.5756 GB, free: 2.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4454, allocations: 25.7 kB / 0.5756 GB, free: 2.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/0.4463, allocations: 1.363 MB / 0.5769 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4463, allocations: 43.95 kB / 0.5769 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.4467, allocations: 422.8 kB / 0.5774 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4469, allocations: 361.9 kB / 0.5777 GB, free: 416 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.4474, allocations: 367.8 kB / 0.578 GB, free: 44 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.449, allocations: 1.925 MB / 0.5799 GB, free: 13.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.4514, allocations: 2.515 MB / 0.5824 GB, free: 9.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/0.4515, allocations: 16 kB / 0.5824 GB, free: 9.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003333/0.4548, allocations: 2.11 MB / 0.5845 GB, free: 7.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.4549, allocations: 35.94 kB / 0.5845 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-05/0.4549, allocations: 56 kB / 0.5845 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.956e-05/0.455, allocations: 72.78 kB / 0.5846 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4562, allocations: 487.1 kB / 0.5851 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.83e-05/0.4562, allocations: 115.6 kB / 0.5852 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.4576, allocations: 316.5 kB / 0.5855 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4578, allocations: 140 kB / 0.5856 GB, free: 6.648 MB / 446.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.001034/0.4588, allocations: 0.8666 MB / 0.5865 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.459, allocations: 231.3 kB / 0.5867 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.4592, allocations: 228.2 kB / 0.5869 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/0.4593, allocations: 184.3 kB / 0.5871 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.256e-05/0.4594, allocations: 180.3 kB / 0.5873 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/0.4594, allocations: 184.2 kB / 0.5874 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.4612, allocations: 1.481 MB / 0.5889 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.4612, allocations: 108.9 kB / 0.589 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.4613, allocations: 104.9 kB / 0.5891 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.4613, allocations: 180.2 kB / 0.5893 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.4614, allocations: 184.2 kB / 0.5894 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.565e-05/0.4615, allocations: 176.3 kB / 0.5896 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.033e-05/0.4615, allocations: 188.2 kB / 0.5898 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4618, allocations: 429.2 kB / 0.5902 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.4621, allocations: 292.5 kB / 0.5905 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4622, allocations: 176.3 kB / 0.5906 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.4625, allocations: 116.9 kB / 0.5907 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.4626, allocations: 180.2 kB / 0.5909 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.4626, allocations: 105 kB / 0.591 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.4638, allocations: 1.018 MB / 0.592 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4638, allocations: 0 / 0.592 GB, free: 15.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4655, allocations: 426.1 kB / 0.5924 GB, free: 15.45 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.0005512/0.4661, allocations: 0.9399 MB / 0.5933 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4674, allocations: 0.8992 MB / 0.5942 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4674, allocations: 4 kB / 0.5942 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.4675, allocations: 0.75 kB / 0.5942 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.4683, allocations: 0.5781 MB / 0.5948 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.4858, allocations: 13.52 MB / 0.608 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.4874, allocations: 1.575 MB / 0.6095 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.4885, allocations: 499.2 kB / 0.61 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.4893, allocations: 0.6594 MB / 0.6107 GB, free: 10.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4893, allocations: 0 / 0.6107 GB, free: 10.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.5379, allocations: 21.88 MB / 0.632 GB, free: 5.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.5, allocations: 15.78 kB / 0.632 GB, free: 5.188 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches