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.001456/0.001456, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 71.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3355, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009319/0.3449, allocations: 8.689 MB / 0.5401 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.3496, allocations: 2.292 MB / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.3505, allocations: 37.91 kB / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.3535, allocations: 1.542 MB / 0.5439 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3547, allocations: 495.8 kB / 0.5444 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.355, allocations: 70.81 kB / 0.5445 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3563, allocations: 0.9343 MB / 0.5454 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.3582, allocations: 1.492 MB / 0.5468 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.3591, allocations: 0.5371 MB / 0.5474 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.3601, allocations: 0.6811 MB / 0.548 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.3605, allocations: 116 kB / 0.5481 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.3609, allocations: 131.9 kB / 0.5483 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.3616, allocations: 0.7285 MB / 0.549 GB, free: 92 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.3625, allocations: 0.8542 MB / 0.5498 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.3645, allocations: 2.315 MB / 0.5521 GB, free: 12.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3645, allocations: 4 kB / 0.5521 GB, free: 12.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3645, allocations: 0 / 0.5521 GB, free: 12.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3645, allocations: 4 kB / 0.5521 GB, free: 12.9 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.002317/0.3669, allocations: 1.94 MB / 0.554 GB, free: 10.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3669, allocations: 8.031 kB / 0.554 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.3674, allocations: 222.1 kB / 0.5542 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3685, allocations: 0.7187 MB / 0.5549 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.3686, allocations: 115.4 kB / 0.555 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3688, allocations: 152.1 kB / 0.5551 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.3725, allocations: 3.383 MB / 0.5584 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.3725, allocations: 15.88 kB / 0.5585 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3726, allocations: 71.94 kB / 0.5585 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006846/0.3733, allocations: 0.611 MB / 0.5591 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.376, allocations: 1.862 MB / 0.5609 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.387, allocations: 13.48 MB / 0.5741 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.3871, allocations: 169.1 kB / 0.5743 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.3872, allocations: 80.14 kB / 0.5743 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.3872, allocations: 87.22 kB / 0.5744 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.3872, allocations: 109.8 kB / 0.5745 GB, free: 5.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.3872, allocations: 0 / 0.5745 GB, free: 5.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000207/0.3875, allocations: 152.1 kB / 0.5747 GB, free: 4.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3875, allocations: 51.41 kB / 0.5747 GB, free: 4.797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.3894, allocations: 1.646 MB / 0.5763 GB, free: 3.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3894, allocations: 25.7 kB / 0.5764 GB, free: 3.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008989/0.3903, allocations: 1.378 MB / 0.5777 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.3904, allocations: 43.95 kB / 0.5777 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/0.3908, allocations: 418.8 kB / 0.5781 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.391, allocations: 353.9 kB / 0.5785 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.3916, allocations: 367.8 kB / 0.5788 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3932, allocations: 1.933 MB / 0.5807 GB, free: 13.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.3958, allocations: 2.511 MB / 0.5832 GB, free: 10.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.733e-05/0.3959, allocations: 16 kB / 0.5832 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003389/0.3993, allocations: 2.11 MB / 0.5852 GB, free: 8.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.3993, allocations: 29 kB / 0.5853 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.009e-05/0.3994, allocations: 60 kB / 0.5853 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-05/0.3995, allocations: 79.94 kB / 0.5854 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4007, allocations: 487 kB / 0.5859 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-05/0.4008, allocations: 111.6 kB / 0.586 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4023, allocations: 316.5 kB / 0.5863 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.4025, allocations: 140 kB / 0.5864 GB, free: 7.137 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.00122/0.4037, allocations: 0.8705 MB / 0.5873 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4039, allocations: 223.3 kB / 0.5875 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.4042, allocations: 232.2 kB / 0.5877 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.602e-05/0.4042, allocations: 188.3 kB / 0.5879 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.4043, allocations: 105 kB / 0.588 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.4047, allocations: 292.5 kB / 0.5883 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.405, allocations: 180.3 kB / 0.5884 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.4053, allocations: 109 kB / 0.5885 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4054, allocations: 184.2 kB / 0.5887 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.43e-05/0.4055, allocations: 255.5 kB / 0.589 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003042/0.4058, allocations: 0.4964 MB / 0.5894 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.448e-05/0.4058, allocations: 108.9 kB / 0.5895 GB, free: 3.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.4073, allocations: 1.01 MB / 0.5905 GB, free: 2.793 MB / 446.1 MB Notification: Performance of Backend: time 7.32e-07/0.4073, allocations: 3.938 kB / 0.5905 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.4091, allocations: 0.9752 MB / 0.5915 GB, free: 1.824 MB / 446.1 MB Notification: Performance of SimCode: time 0.005636/0.4147, allocations: 3.685 MB / 0.5951 GB, free: 14.07 MB / 462.1 MB Notification: Performance of Templates: time 0.02009/0.4349, allocations: 9.312 MB / 0.6042 GB, free: 4.801 MB / 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/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