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.001492/0.001492, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3396, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009241/0.3489, allocations: 8.688 MB / 0.539 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.3539, allocations: 2.295 MB / 0.5412 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.3547, allocations: 41.69 kB / 0.5413 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.3575, allocations: 1.542 MB / 0.5428 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.3587, allocations: 467.6 kB / 0.5432 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.3589, allocations: 71.84 kB / 0.5433 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.36, allocations: 0.9299 MB / 0.5442 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.3616, allocations: 1.492 MB / 0.5457 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006785/0.3623, allocations: 0.5365 MB / 0.5462 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.3631, allocations: 0.6814 MB / 0.5468 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.3633, allocations: 123.9 kB / 0.547 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.3636, allocations: 119.9 kB / 0.5471 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.3641, allocations: 0.7247 MB / 0.5478 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.3648, allocations: 0.8503 MB / 0.5486 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.3668, allocations: 2.331 MB / 0.5509 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3668, allocations: 0 / 0.5509 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3668, allocations: 0 / 0.5509 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.3669, allocations: 3.984 kB / 0.5509 GB, free: 12.84 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.002322/0.3692, allocations: 1.94 MB / 0.5528 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3692, allocations: 12.03 kB / 0.5528 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003017/0.3695, allocations: 334.5 kB / 0.5531 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.3701, allocations: 214.1 kB / 0.5533 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.371, allocations: 0.7187 MB / 0.554 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.3711, allocations: 115.4 kB / 0.5541 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3713, allocations: 155.9 kB / 0.5543 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.3749, allocations: 3.375 MB / 0.5576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.375, allocations: 15.88 kB / 0.5576 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.3751, allocations: 71.94 kB / 0.5577 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007136/0.3758, allocations: 0.6149 MB / 0.5583 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3785, allocations: 1.865 MB / 0.5601 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.389, allocations: 13.48 MB / 0.5733 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.3891, allocations: 177.1 kB / 0.5734 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.3892, allocations: 84.08 kB / 0.5735 GB, free: 4.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3892, allocations: 75.28 kB / 0.5736 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3893, allocations: 109.8 kB / 0.5737 GB, free: 4.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.3893, allocations: 0 / 0.5737 GB, free: 4.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002153/0.3895, allocations: 152 kB / 0.5738 GB, free: 4.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3895, allocations: 130.7 kB / 0.5739 GB, free: 4.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.3913, allocations: 1.646 MB / 0.5756 GB, free: 2.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3913, allocations: 25.7 kB / 0.5756 GB, free: 2.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008204/0.3921, allocations: 1.363 MB / 0.5769 GB, free: 1.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3922, allocations: 47.94 kB / 0.577 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.3926, allocations: 418.8 kB / 0.5774 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3927, allocations: 357.9 kB / 0.5777 GB, free: 432 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.3932, allocations: 367.8 kB / 0.578 GB, free: 60 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.3947, allocations: 1.933 MB / 0.5799 GB, free: 13.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.3971, allocations: 2.507 MB / 0.5824 GB, free: 9.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.3971, allocations: 16 kB / 0.5824 GB, free: 9.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002805/0.4, allocations: 2.119 MB / 0.5845 GB, free: 7.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.4, allocations: 32 kB / 0.5845 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/0.4001, allocations: 56 kB / 0.5846 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.127e-05/0.4001, allocations: 72 kB / 0.5846 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.4012, allocations: 491 kB / 0.5851 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.916e-05/0.4013, allocations: 107.6 kB / 0.5852 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4025, allocations: 316.5 kB / 0.5855 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4026, allocations: 140 kB / 0.5856 GB, free: 6.664 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.0009605/0.4036, allocations: 0.8669 MB / 0.5865 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4038, allocations: 227.3 kB / 0.5867 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.4039, allocations: 232.2 kB / 0.5869 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.404, allocations: 184.3 kB / 0.5871 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.325e-05/0.4041, allocations: 180.3 kB / 0.5873 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/0.4041, allocations: 192.2 kB / 0.5874 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.4056, allocations: 1.473 MB / 0.5889 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/0.4056, allocations: 108.9 kB / 0.589 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.4057, allocations: 105 kB / 0.5891 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.668e-05/0.4058, allocations: 184.2 kB / 0.5893 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.4058, allocations: 188.2 kB / 0.5894 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.441e-05/0.4059, allocations: 176.3 kB / 0.5896 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.565e-05/0.406, allocations: 188.2 kB / 0.5898 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4062, allocations: 433.2 kB / 0.5902 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.4065, allocations: 288.5 kB / 0.5905 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4066, allocations: 184.2 kB / 0.5907 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.4069, allocations: 104.9 kB / 0.5908 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.407, allocations: 180.3 kB / 0.5909 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.407, allocations: 105 kB / 0.591 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.4082, allocations: 1.025 MB / 0.592 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4082, allocations: 0 / 0.592 GB, free: 15.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001464/0.4097, allocations: 430.1 kB / 0.5924 GB, free: 15.46 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.000524/0.4102, allocations: 0.9322 MB / 0.5933 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4114, allocations: 0.8988 MB / 0.5942 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4114, allocations: 0 / 0.5942 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.4115, allocations: 3.938 kB / 0.5942 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.4123, allocations: 0.5724 MB / 0.5948 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.4274, allocations: 13.52 MB / 0.608 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4287, allocations: 1.575 MB / 0.6095 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.4298, allocations: 495.2 kB / 0.61 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/0.4305, allocations: 0.6672 MB / 0.6107 GB, free: 10.95 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4305, allocations: 0 / 0.6107 GB, free: 10.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.4767, allocations: 21.89 MB / 0.632 GB, free: 5.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.89, allocations: 15.84 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