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.001528/0.001529, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 62.42 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008715/0.2955, allocations: 8.7 MB / 0.5401 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.2993, allocations: 2.291 MB / 0.5424 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.2997, allocations: 42.16 kB / 0.5424 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.3025, allocations: 1.542 MB / 0.5439 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008162/0.3033, allocations: 467.2 kB / 0.5444 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3036, allocations: 67.45 kB / 0.5444 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009398/0.3045, allocations: 0.9341 MB / 0.5453 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.3061, allocations: 1.497 MB / 0.5468 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.3067, allocations: 0.541 MB / 0.5473 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000835/0.3075, allocations: 0.6733 MB / 0.548 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3077, allocations: 127.9 kB / 0.5481 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.308, allocations: 120 kB / 0.5482 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.3086, allocations: 0.7325 MB / 0.5489 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.3092, allocations: 0.8463 MB / 0.5498 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3111, allocations: 2.325 MB / 0.552 GB, free: 12.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3111, allocations: 0 / 0.552 GB, free: 12.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3111, allocations: 0 / 0.552 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.3112, allocations: 0 / 0.552 GB, free: 12.8 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.002239/0.3134, allocations: 1.952 MB / 0.5539 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3135, allocations: 8.031 kB / 0.554 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.314, allocations: 210.1 kB / 0.5542 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009566/0.315, allocations: 0.7187 MB / 0.5549 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.3151, allocations: 115.4 kB / 0.555 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.3153, allocations: 160 kB / 0.5551 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.319, allocations: 3.371 MB / 0.5584 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.3191, allocations: 15.88 kB / 0.5584 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3192, allocations: 71.94 kB / 0.5585 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007008/0.3199, allocations: 0.6227 MB / 0.5591 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3224, allocations: 1.862 MB / 0.5609 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009628/0.332, allocations: 13.48 MB / 0.5741 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.3321, allocations: 173.1 kB / 0.5742 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.3322, allocations: 80.14 kB / 0.5743 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3322, allocations: 79.22 kB / 0.5744 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3323, allocations: 105.8 kB / 0.5745 GB, free: 4.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 4.278e-06/0.3323, allocations: 7.984 kB / 0.5745 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001907/0.3325, allocations: 148.1 kB / 0.5746 GB, free: 4.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3325, allocations: 55.34 kB / 0.5747 GB, free: 4.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.3342, allocations: 1.646 MB / 0.5763 GB, free: 3.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3342, allocations: 25.7 kB / 0.5763 GB, free: 3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/0.335, allocations: 1.366 MB / 0.5777 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3351, allocations: 43.95 kB / 0.5777 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.3354, allocations: 422.8 kB / 0.5781 GB, free: 1.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3356, allocations: 361.9 kB / 0.5785 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.336, allocations: 371.8 kB / 0.5788 GB, free: 428 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3375, allocations: 1.929 MB / 0.5807 GB, free: 13.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.3396, allocations: 2.511 MB / 0.5831 GB, free: 10.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.3397, allocations: 16 kB / 0.5832 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00259/0.3422, allocations: 2.115 MB / 0.5852 GB, free: 8.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.3423, allocations: 35.94 kB / 0.5853 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/0.3423, allocations: 56 kB / 0.5853 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.636e-05/0.3424, allocations: 72 kB / 0.5854 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3434, allocations: 491 kB / 0.5859 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.81e-05/0.3435, allocations: 107.6 kB / 0.586 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3446, allocations: 317 kB / 0.5863 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3447, allocations: 144 kB / 0.5864 GB, free: 7.023 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.0008159/0.3456, allocations: 0.8665 MB / 0.5872 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.3457, allocations: 227.3 kB / 0.5875 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3459, allocations: 232.2 kB / 0.5877 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/0.346, allocations: 184.3 kB / 0.5879 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.346, allocations: 105 kB / 0.588 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.3462, allocations: 296.5 kB / 0.5882 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3464, allocations: 176.3 kB / 0.5884 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3466, allocations: 105 kB / 0.5885 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.3467, allocations: 188.2 kB / 0.5887 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.059e-05/0.3468, allocations: 259.5 kB / 0.5889 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002231/0.347, allocations: 0.4886 MB / 0.5894 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.581e-05/0.3471, allocations: 112.8 kB / 0.5895 GB, free: 3.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.3482, allocations: 1.018 MB / 0.5905 GB, free: 2.676 MB / 446.1 MB Notification: Performance of Backend: time 4.6e-07/0.3482, allocations: 0 / 0.5905 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3496, allocations: 0.9723 MB / 0.5915 GB, free: 1.711 MB / 446.1 MB Notification: Performance of SimCode: time 0.003942/0.3535, allocations: 3.677 MB / 0.5951 GB, free: 13.97 MB / 462.1 MB Notification: Performance of Templates: time 0.01819/0.3717, allocations: 9.358 MB / 0.6042 GB, free: 4.652 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