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.001092/0.001092, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 83.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4269, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01091/0.4378, allocations: 8.696 MB / 0.5395 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.4441, allocations: 2.296 MB / 0.5417 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.4455, allocations: 41.31 kB / 0.5417 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.4485, allocations: 1.538 MB / 0.5432 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.4499, allocations: 495.6 kB / 0.5437 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.4502, allocations: 67.72 kB / 0.5438 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.4516, allocations: 0.9335 MB / 0.5447 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.4535, allocations: 1.498 MB / 0.5462 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007749/0.4543, allocations: 0.5385 MB / 0.5467 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.4551, allocations: 0.6772 MB / 0.5473 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.4553, allocations: 124 kB / 0.5475 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.4556, allocations: 120 kB / 0.5476 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.4563, allocations: 0.7285 MB / 0.5483 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007472/0.457, allocations: 0.858 MB / 0.5491 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.4591, allocations: 2.313 MB / 0.5514 GB, free: 12.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4591, allocations: 0 / 0.5514 GB, free: 12.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4591, allocations: 4 kB / 0.5514 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.4592, allocations: 0 / 0.5514 GB, free: 12.78 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.002496/0.4617, allocations: 1.948 MB / 0.5533 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4617, allocations: 15.95 kB / 0.5533 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/0.4623, allocations: 214.1 kB / 0.5535 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.4633, allocations: 0.7148 MB / 0.5542 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.4634, allocations: 119.4 kB / 0.5543 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.4636, allocations: 148.1 kB / 0.5545 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.4674, allocations: 3.379 MB / 0.5578 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.4674, allocations: 11.88 kB / 0.5578 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4675, allocations: 75.94 kB / 0.5578 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006974/0.4682, allocations: 0.6188 MB / 0.5585 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.4712, allocations: 1.865 MB / 0.5603 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.4841, allocations: 13.48 MB / 0.5734 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4843, allocations: 169.1 kB / 0.5736 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.4843, allocations: 80.14 kB / 0.5737 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.4844, allocations: 79.22 kB / 0.5737 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/0.4844, allocations: 109.8 kB / 0.5739 GB, free: 4.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.685e-06/0.4844, allocations: 4 kB / 0.5739 GB, free: 4.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003085/0.4847, allocations: 156 kB / 0.574 GB, free: 4.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.4848, allocations: 126.7 kB / 0.5741 GB, free: 4.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.4868, allocations: 1.646 MB / 0.5757 GB, free: 2.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4868, allocations: 25.7 kB / 0.5758 GB, free: 2.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.4877, allocations: 1.363 MB / 0.5771 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4877, allocations: 47.95 kB / 0.5771 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.4882, allocations: 418.8 kB / 0.5775 GB, free: 1.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4884, allocations: 361.9 kB / 0.5779 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.4889, allocations: 367.8 kB / 0.5782 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.4905, allocations: 1.929 MB / 0.5801 GB, free: 13.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.493, allocations: 2.511 MB / 0.5826 GB, free: 10.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/0.4931, allocations: 16 kB / 0.5826 GB, free: 10.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003485/0.4965, allocations: 2.118 MB / 0.5846 GB, free: 8.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.4966, allocations: 28 kB / 0.5847 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-05/0.4967, allocations: 56 kB / 0.5847 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.759e-05/0.4968, allocations: 76 kB / 0.5848 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4979, allocations: 483.1 kB / 0.5853 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.004e-05/0.498, allocations: 112.2 kB / 0.5854 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4995, allocations: 324.5 kB / 0.5857 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.4996, allocations: 136 kB / 0.5858 GB, free: 6.941 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.001233/0.5009, allocations: 0.8665 MB / 0.5867 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.5011, allocations: 231.3 kB / 0.5869 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.5013, allocations: 236.2 kB / 0.5871 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-05/0.5014, allocations: 184.3 kB / 0.5873 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.985e-05/0.5015, allocations: 180.3 kB / 0.5874 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.21e-05/0.5016, allocations: 180.2 kB / 0.5876 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5033, allocations: 1.477 MB / 0.5891 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/0.5034, allocations: 112.9 kB / 0.5892 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.5034, allocations: 101 kB / 0.5893 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-05/0.5035, allocations: 180.3 kB / 0.5894 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5036, allocations: 184.2 kB / 0.5896 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.019e-05/0.5037, allocations: 176.3 kB / 0.5898 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/0.5037, allocations: 192.1 kB / 0.59 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.504, allocations: 421.4 kB / 0.5904 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.5043, allocations: 304.3 kB / 0.5907 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5045, allocations: 176.3 kB / 0.5908 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.5048, allocations: 108.9 kB / 0.5909 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.5049, allocations: 184.2 kB / 0.5911 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.5049, allocations: 109 kB / 0.5912 GB, free: 1.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001208/0.5061, allocations: 1.018 MB / 0.5922 GB, free: 160 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5061, allocations: 0 / 0.5922 GB, free: 160 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001743/0.5079, allocations: 430.1 kB / 0.5926 GB, free: 15.73 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.0002068/0.5081, allocations: 170.5 kB / 0.5928 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.5094, allocations: 0.8992 MB / 0.5937 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5094, allocations: 0 / 0.5937 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.5094, allocations: 0 / 0.5937 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.5102, allocations: 0.5836 MB / 0.5942 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.5158, allocations: 2.76 MB / 0.5969 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.5176, allocations: 1.568 MB / 0.5985 GB, free: 9.684 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.5187, allocations: 0.4953 MB / 0.5989 GB, free: 9.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5189, allocations: 71.44 kB / 0.599 GB, free: 9.113 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5189, allocations: 0 / 0.599 GB, free: 9.113 MB / 462.1 MB Notification: Performance of Templates: time 0.01887/0.5377, allocations: 8.785 MB / 0.6076 GB, free: 376 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