Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009935/0.0009935, allocations: 200 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007186/0.0007187, allocations: 98.97 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1707/0.1707, allocations: 44.84 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2087/0.32, allocations: 36.4 MB / 0.5509 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.3357, allocations: 7.061 MB / 0.5578 GB, free: 15.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0066/0.3423, allocations: 160.9 kB / 0.5579 GB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.3473, allocations: 1.765 MB / 0.5596 GB, free: 14.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.3593, allocations: 4.873 MB / 0.5644 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3607, allocations: 94.8 kB / 0.5645 GB, free: 10.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.3625, allocations: 1.291 MB / 0.5658 GB, free: 9.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.3649, allocations: 1.733 MB / 0.5674 GB, free: 8.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.3656, allocations: 386.2 kB / 0.5678 GB, free: 7.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.3664, allocations: 0.5485 MB / 0.5683 GB, free: 7.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.3666, allocations: 44 kB / 0.5684 GB, free: 7.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3669, allocations: 36 kB / 0.5684 GB, free: 7.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005769/0.3674, allocations: 0.631 MB / 0.569 GB, free: 6.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.3678, allocations: 340.6 kB / 0.5694 GB, free: 6.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3694, allocations: 1.774 MB / 0.5711 GB, free: 4.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3694, allocations: 0 / 0.5711 GB, free: 4.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3694, allocations: 0 / 0.5711 GB, free: 4.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.289e-05/0.3695, allocations: 0 / 0.5711 GB, free: 4.395 MB / 378.7 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.002272/0.3718, allocations: 1.637 MB / 0.5727 GB, free: 2.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3718, allocations: 12.03 kB / 0.5727 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.3724, allocations: 213.2 kB / 0.5729 GB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3734, allocations: 0.7021 MB / 0.5736 GB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.3735, allocations: 116.8 kB / 0.5737 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.3737, allocations: 147.9 kB / 0.5739 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.3776, allocations: 3.367 MB / 0.5771 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.3777, allocations: 15.81 kB / 0.5772 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.3778, allocations: 75.94 kB / 0.5772 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006702/0.3785, allocations: 0.6188 MB / 0.5778 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.3813, allocations: 1.843 MB / 0.5796 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.3915, allocations: 13.52 MB / 0.5928 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.3916, allocations: 173.1 kB / 0.593 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.3916, allocations: 84.14 kB / 0.5931 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3917, allocations: 79.23 kB / 0.5932 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3917, allocations: 113.8 kB / 0.5933 GB, free: 12.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.3917, allocations: 0 / 0.5933 GB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001928/0.3919, allocations: 148.1 kB / 0.5934 GB, free: 12.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.392, allocations: 134.7 kB / 0.5935 GB, free: 12.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.3938, allocations: 1.643 MB / 0.5951 GB, free: 10.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3938, allocations: 25.7 kB / 0.5952 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.3946, allocations: 1.355 MB / 0.5965 GB, free: 9.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3947, allocations: 51.95 kB / 0.5965 GB, free: 9.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3947, allocations: 40 kB / 0.5966 GB, free: 9.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3949, allocations: 438.7 kB / 0.597 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.3954, allocations: 371.8 kB / 0.5973 GB, free: 8.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.3968, allocations: 1.917 MB / 0.5992 GB, free: 5.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3979, allocations: 0.7763 MB / 0.6 GB, free: 5.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/0.3979, allocations: 16 kB / 0.6 GB, free: 5.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00295/0.4009, allocations: 2.099 MB / 0.602 GB, free: 2.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4009, allocations: 31.95 kB / 0.6021 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.626e-05/0.401, allocations: 60 kB / 0.6021 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/0.401, allocations: 80 kB / 0.6022 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.4022, allocations: 491 kB / 0.6027 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.955e-05/0.4022, allocations: 107.6 kB / 0.6028 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.4034, allocations: 320.5 kB / 0.6031 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4035, allocations: 140 kB / 0.6032 GB, free: 1.727 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009671/0.4045, allocations: 0.8707 MB / 0.6041 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4047, allocations: 223.4 kB / 0.6043 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.4048, allocations: 232.4 kB / 0.6045 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.477e-05/0.4049, allocations: 180.2 kB / 0.6047 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.545e-05/0.405, allocations: 180.3 kB / 0.6048 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.405, allocations: 188.2 kB / 0.605 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.4066, allocations: 1.474 MB / 0.6065 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/0.4066, allocations: 104.9 kB / 0.6066 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.4066, allocations: 101 kB / 0.6067 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.238e-05/0.4067, allocations: 184.3 kB / 0.6068 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.4068, allocations: 184.1 kB / 0.607 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.565e-05/0.4068, allocations: 188.2 kB / 0.6072 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.384e-05/0.4069, allocations: 180.2 kB / 0.6074 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4071, allocations: 433.3 kB / 0.6078 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4074, allocations: 296.5 kB / 0.6081 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4075, allocations: 180.3 kB / 0.6082 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4078, allocations: 112.9 kB / 0.6083 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.4079, allocations: 184.2 kB / 0.6085 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.4079, allocations: 105.2 kB / 0.6086 GB, free: 11.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.4091, allocations: 1.014 MB / 0.6096 GB, free: 10.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4091, allocations: 0 / 0.6096 GB, free: 10.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001312/0.4104, allocations: 430.1 kB / 0.61 GB, free: 10.53 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.4106, allocations: 167.1 kB / 0.6102 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4117, allocations: 0.8918 MB / 0.611 GB, free: 9.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4117, allocations: 4.375 kB / 0.611 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.4117, allocations: 4.016 kB / 0.611 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.4125, allocations: 0.6307 MB / 0.6117 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.4168, allocations: 3.596 MB / 0.6152 GB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.4179, allocations: 1.583 MB / 0.6167 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4181, allocations: 91.44 kB / 0.6168 GB, free: 3.496 MB / 426.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4181, allocations: 3.938 kB / 0.6168 GB, free: 3.492 MB / 426.7 MB Notification: Performance of Templates: time 0.02168/0.4398, allocations: 17.53 MB / 0.6339 GB, free: 1.977 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches