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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1935/0.1935, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.02 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 62.46 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009463/0.1141, allocations: 8.688 MB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004457/0.1186, allocations: 2.285 MB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.12, allocations: 39.94 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.1232, allocations: 1.55 MB / 492.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.1245, allocations: 465.3 kB / 493.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1249, allocations: 79.83 kB / 493.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.1262, allocations: 0.9255 MB / 494.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.128, allocations: 1.499 MB / 495.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007129/0.1288, allocations: 0.5332 MB / 496.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1298, allocations: 0.6811 MB / 496.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.1301, allocations: 116 kB / 497 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1306, allocations: 127.9 kB / 497.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.1314, allocations: 0.7285 MB / 497.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.1324, allocations: 0.8541 MB / 498.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.1345, allocations: 2.211 MB / 0.4892 GB, free: 316 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1346, allocations: 0 / 0.4892 GB, free: 316 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1346, allocations: 0 / 0.4892 GB, free: 316 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.518e-05/0.1346, allocations: 0 / 0.4892 GB, free: 316 kB / 366.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.002251/0.1369, allocations: 1.944 MB / 0.4911 GB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1369, allocations: 12.03 kB / 0.4911 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002861/0.1372, allocations: 330.5 kB / 0.4914 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.1377, allocations: 218.1 kB / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/0.1386, allocations: 0.7225 MB / 0.4923 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.1386, allocations: 119.4 kB / 0.4924 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1388, allocations: 151.9 kB / 0.4926 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.142, allocations: 3.379 MB / 0.4959 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.1421, allocations: 11.88 kB / 0.4959 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1422, allocations: 75.94 kB / 0.4959 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.1428, allocations: 0.6149 MB / 0.4965 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.1452, allocations: 1.862 MB / 0.4984 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1757/0.3209, allocations: 13.52 MB / 0.5116 GB, free: 31.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.321, allocations: 166.4 kB / 0.5117 GB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.321, allocations: 82.5 kB / 0.5118 GB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.321, allocations: 78.91 kB / 0.5119 GB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3211, allocations: 111 kB / 0.512 GB, free: 30.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.3211, allocations: 3.375 kB / 0.512 GB, free: 30.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002185/0.3213, allocations: 151.5 kB / 0.5121 GB, free: 30.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.3213, allocations: 135.4 kB / 0.5123 GB, free: 30.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3232, allocations: 1.648 MB / 0.5139 GB, free: 30 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.3232, allocations: 26.86 kB / 0.5139 GB, free: 29.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.3238, allocations: 1.353 MB / 0.5152 GB, free: 28.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.3238, allocations: 48.8 kB / 0.5153 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.3242, allocations: 425.8 kB / 0.5157 GB, free: 28.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.3242, allocations: 361.4 kB / 0.516 GB, free: 28.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.3247, allocations: 372.6 kB / 0.5164 GB, free: 28.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.3256, allocations: 1.928 MB / 0.5182 GB, free: 25.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3269, allocations: 2.512 MB / 0.5207 GB, free: 23.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.327, allocations: 16.88 kB / 0.5207 GB, free: 23.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002527/0.3295, allocations: 2.111 MB / 0.5228 GB, free: 22.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.3296, allocations: 29.81 kB / 0.5228 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.698e-05/0.3297, allocations: 58.22 kB / 0.5229 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.751e-05/0.3297, allocations: 72.91 kB / 0.5229 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3307, allocations: 488.6 kB / 0.5234 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.629e-05/0.3308, allocations: 116.5 kB / 0.5235 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.332, allocations: 319.1 kB / 0.5238 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.3321, allocations: 137.5 kB / 0.5239 GB, free: 22.16 MB / 382.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.0007632/0.3329, allocations: 0.867 MB / 0.5248 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.333, allocations: 223.8 kB / 0.525 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.3331, allocations: 233.3 kB / 0.5252 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.3331, allocations: 178.4 kB / 0.5254 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.3331, allocations: 182.1 kB / 0.5256 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.3332, allocations: 180.8 kB / 0.5257 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3345, allocations: 1.483 MB / 0.5272 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.3345, allocations: 107.4 kB / 0.5273 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-06/0.3345, allocations: 105.7 kB / 0.5274 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.3345, allocations: 182.5 kB / 0.5276 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3345, allocations: 178.4 kB / 0.5277 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/0.3346, allocations: 184.9 kB / 0.5279 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/0.3346, allocations: 182.5 kB / 0.5281 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3347, allocations: 432.7 kB / 0.5285 GB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3349, allocations: 293.2 kB / 0.5288 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.335, allocations: 185.2 kB / 0.529 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3352, allocations: 107.4 kB / 0.5291 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.3352, allocations: 178.8 kB / 0.5292 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.3353, allocations: 105.6 kB / 0.5293 GB, free: 17.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.3363, allocations: 1.016 MB / 0.5303 GB, free: 17.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3363, allocations: 1.219 kB / 0.5303 GB, free: 17.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001287/0.3376, allocations: 424.7 kB / 0.5307 GB, free: 17.32 MB / 382.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.0002681/0.3379, allocations: 0.9384 MB / 0.5316 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.3389, allocations: 0.9029 MB / 0.5325 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3389, allocations: 1 kB / 0.5325 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3389, allocations: 0 / 0.5325 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.3395, allocations: 0.5739 MB / 0.5331 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/0.3493, allocations: 14.38 MB / 0.5471 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.3501, allocations: 1.573 MB / 0.5487 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009452/0.3511, allocations: 0.4914 MB / 0.5491 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.3515, allocations: 0.671 MB / 0.5498 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3515, allocations: 0 / 0.5498 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.433/1.784, allocations: 21.16 MB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/10.73, allocations: 17.42 kB / 0.5705 GB, free: 11.52 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > 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