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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001232, allocations: 204.6 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3916, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009951/0.4016, allocations: 8.695 MB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.4067, allocations: 2.291 MB / 0.5417 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008126/0.4075, allocations: 42.12 kB / 0.5417 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.4105, allocations: 1.535 MB / 0.5432 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.4116, allocations: 475 kB / 0.5437 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.4119, allocations: 71.41 kB / 0.5438 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.4131, allocations: 0.9231 MB / 0.5447 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.4147, allocations: 1.502 MB / 0.5461 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.4153, allocations: 0.5345 MB / 0.5467 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.4161, allocations: 0.6772 MB / 0.5473 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.4163, allocations: 120 kB / 0.5474 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.4165, allocations: 127.9 kB / 0.5476 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.4171, allocations: 0.7286 MB / 0.5483 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007402/0.4179, allocations: 0.8541 MB / 0.5491 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.4198, allocations: 2.313 MB / 0.5514 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4198, allocations: 4 kB / 0.5514 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4199, allocations: 4 kB / 0.5514 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.4199, allocations: 0 / 0.5514 GB, free: 12.81 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.002464/0.4224, allocations: 1.944 MB / 0.5533 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4224, allocations: 8.031 kB / 0.5533 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.423, allocations: 222.1 kB / 0.5535 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4241, allocations: 0.7187 MB / 0.5542 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.4242, allocations: 119.4 kB / 0.5543 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4243, allocations: 156 kB / 0.5544 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.4279, allocations: 3.379 MB / 0.5577 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.428, allocations: 15.81 kB / 0.5578 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.4281, allocations: 75.94 kB / 0.5578 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006401/0.4287, allocations: 0.611 MB / 0.5584 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.4313, allocations: 1.858 MB / 0.5602 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.4426, allocations: 13.48 MB / 0.5734 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.4427, allocations: 165.1 kB / 0.5736 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.4428, allocations: 80.14 kB / 0.5736 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.4428, allocations: 91.16 kB / 0.5737 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.4429, allocations: 105.8 kB / 0.5738 GB, free: 4.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.595e-06/0.4429, allocations: 4 kB / 0.5738 GB, free: 4.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002298/0.4431, allocations: 148.1 kB / 0.574 GB, free: 4.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.4432, allocations: 126.7 kB / 0.5741 GB, free: 4.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.4451, allocations: 1.646 MB / 0.5757 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4451, allocations: 25.7 kB / 0.5757 GB, free: 2.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00086/0.446, allocations: 1.37 MB / 0.5771 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4461, allocations: 43.95 kB / 0.5771 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.4465, allocations: 422.8 kB / 0.5775 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4467, allocations: 353.9 kB / 0.5778 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.4472, allocations: 371.8 kB / 0.5782 GB, free: 368 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4487, allocations: 1.929 MB / 0.5801 GB, free: 13.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.4509, allocations: 2.507 MB / 0.5825 GB, free: 10.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/0.451, allocations: 16 kB / 0.5825 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003111/0.4541, allocations: 2.119 MB / 0.5846 GB, free: 8.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.4541, allocations: 28.19 kB / 0.5846 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.4542, allocations: 60 kB / 0.5847 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.859e-05/0.4543, allocations: 76 kB / 0.5848 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4554, allocations: 491 kB / 0.5852 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-05/0.4555, allocations: 111.6 kB / 0.5854 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4569, allocations: 316.5 kB / 0.5857 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.457, allocations: 140 kB / 0.5858 GB, free: 6.965 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.001115/0.4582, allocations: 0.8666 MB / 0.5866 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4584, allocations: 231.3 kB / 0.5869 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.4586, allocations: 232.2 kB / 0.5871 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.637e-05/0.4587, allocations: 188.3 kB / 0.5873 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/0.4587, allocations: 184.3 kB / 0.5874 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.478e-05/0.4588, allocations: 180.3 kB / 0.5876 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.4604, allocations: 1.477 MB / 0.589 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/0.4604, allocations: 104.9 kB / 0.5891 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4605, allocations: 108.9 kB / 0.5892 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.22e-05/0.4605, allocations: 176.3 kB / 0.5894 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/0.4606, allocations: 180.3 kB / 0.5896 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.955e-05/0.4607, allocations: 192.1 kB / 0.5898 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.192e-05/0.4607, allocations: 184.2 kB / 0.5899 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.461, allocations: 417.3 kB / 0.5903 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4613, allocations: 300.4 kB / 0.5906 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.4614, allocations: 184.2 kB / 0.5908 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.4617, allocations: 105 kB / 0.5909 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.4618, allocations: 188.2 kB / 0.5911 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.4618, allocations: 105 kB / 0.5912 GB, free: 1.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.463, allocations: 1.01 MB / 0.5922 GB, free: 192 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.463, allocations: 0 / 0.5922 GB, free: 192 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001603/0.4647, allocations: 434.1 kB / 0.5926 GB, free: 15.76 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.000162/0.4648, allocations: 170.5 kB / 0.5927 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.466, allocations: 0.8955 MB / 0.5936 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4661, allocations: 3.938 kB / 0.5936 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.4661, allocations: 4 kB / 0.5936 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.4668, allocations: 0.5795 MB / 0.5942 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.4711, allocations: 2.764 MB / 0.5969 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.4726, allocations: 1.575 MB / 0.5984 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4736, allocations: 499.2 kB / 0.5989 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4737, allocations: 71.44 kB / 0.599 GB, free: 9.137 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4737, allocations: 4 kB / 0.599 GB, free: 9.133 MB / 462.1 MB Notification: Performance of Templates: time 0.01838/0.4921, allocations: 8.742 MB / 0.6075 GB, free: 444 kB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches