Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 116.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 72.52 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.111, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009798/0.1208, allocations: 9.166 MB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.1253, allocations: 2.376 MB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1264, allocations: 31.94 kB / 491.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1278, allocations: 494.4 kB / 491.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1293, allocations: 0.6384 MB / 492.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.1294, allocations: 19.98 kB / 492.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.131, allocations: 1.455 MB / 493.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.132, allocations: 0.7666 MB / 494.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.1327, allocations: 486 kB / 495 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.1336, allocations: 0.7669 MB / 495.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.1339, allocations: 87.94 kB / 495.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.1345, allocations: 327.5 kB / 496.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006448/0.1352, allocations: 0.6699 MB / 496.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008125/0.136, allocations: 0.8303 MB / 497.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.1383, allocations: 2.531 MB / 0.4885 GB, free: 0.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1384, allocations: 0 / 0.4885 GB, free: 0.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1384, allocations: 0 / 0.4885 GB, free: 0.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.26e-05/0.1384, allocations: 0 / 0.4885 GB, free: 0.793 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.00307/0.1415, allocations: 1.951 MB / 0.4904 GB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1416, allocations: 8.031 kB / 0.4904 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/0.142, allocations: 352.1 kB / 0.4907 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.1468, allocations: 1.468 MB / 0.4922 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1482, allocations: 0.8474 MB / 0.493 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.1482, allocations: 82.03 kB / 0.4931 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.1485, allocations: 103.9 kB / 0.4932 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.154, allocations: 4.626 MB / 0.4977 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.154, allocations: 15.88 kB / 0.4977 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.1542, allocations: 59.84 kB / 0.4978 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/0.1558, allocations: 1.099 MB / 0.4988 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/0.1615, allocations: 4.007 MB / 0.5027 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2307/0.3922, allocations: 18.49 MB / 0.5208 GB, free: 25.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.3938, allocations: 1.172 MB / 0.5219 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.3944, allocations: 346.6 kB / 0.5223 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3944, allocations: 4.766 kB / 0.5223 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3944, allocations: 40.55 kB / 0.5223 GB, free: 24.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.426e-06/0.3944, allocations: 0 / 0.5223 GB, free: 24.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001684/0.3961, allocations: 1.03 MB / 0.5233 GB, free: 24.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3962, allocations: 110.5 kB / 0.5234 GB, free: 24.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.4001, allocations: 2.198 MB / 0.5256 GB, free: 23.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.4002, allocations: 35.62 kB / 0.5256 GB, free: 23.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009983/0.4012, allocations: 1.616 MB / 0.5272 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.4014, allocations: 266.2 kB / 0.5274 GB, free: 22.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008332/0.4023, allocations: 0.6748 MB / 0.5281 GB, free: 21.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4024, allocations: 357.2 kB / 0.5284 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4039, allocations: 0.8972 MB / 0.5293 GB, free: 21.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.4066, allocations: 3.173 MB / 0.5324 GB, free: 17.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.4108, allocations: 4.442 MB / 0.5368 GB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.152e-05/0.4109, allocations: 22.47 kB / 0.5368 GB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005166/0.4161, allocations: 3.839 MB / 0.5405 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4161, allocations: 39.28 kB / 0.5406 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-05/0.4162, allocations: 81.25 kB / 0.5406 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.509e-05/0.4163, allocations: 107.2 kB / 0.5407 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.418, allocations: 0.7531 MB / 0.5415 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.297e-05/0.4181, allocations: 159.8 kB / 0.5416 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.42, allocations: 495.2 kB / 0.5421 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.4202, allocations: 220.5 kB / 0.5423 GB, free: 11.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * 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.001033/0.4212, allocations: 1.088 MB / 0.5434 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.4214, allocations: 166.3 kB / 0.5435 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.4217, allocations: 207.8 kB / 0.5437 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.4217, allocations: 11.77 kB / 0.5437 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4217, allocations: 3.438 kB / 0.5437 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4217, allocations: 0 / 0.5437 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.4242, allocations: 2.018 MB / 0.5457 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4242, allocations: 0 / 0.5457 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4245, allocations: 67.83 kB / 0.5458 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4245, allocations: 4 kB / 0.5458 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.4245, allocations: 11.98 kB / 0.5458 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4246, allocations: 3.844 kB / 0.5458 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4246, allocations: 5.172 kB / 0.5458 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.4253, allocations: 1.03 MB / 0.5468 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.4256, allocations: 234.7 kB / 0.547 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.4257, allocations: 15.77 kB / 0.5471 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.4262, allocations: 19.97 kB / 0.5471 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.4263, allocations: 23.97 kB / 0.5471 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.4263, allocations: 16 kB / 0.5471 GB, free: 7.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.4276, allocations: 1.375 MB / 0.5485 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4276, allocations: 0 / 0.5485 GB, free: 6.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001874/0.4295, allocations: 493.4 kB / 0.5489 GB, free: 6.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.00102/0.4305, allocations: 1.634 MB / 0.5505 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.4328, allocations: 2.147 MB / 0.5526 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4328, allocations: 0 / 0.5526 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.4331, allocations: 328.3 kB / 0.5529 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.434, allocations: 170.5 kB / 0.5531 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/0.4633, allocations: 22.19 MB / 0.5748 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.4649, allocations: 1.79 MB / 0.5765 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002399/0.4673, allocations: 1.113 MB / 0.5776 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/0.4682, allocations: 0.7297 MB / 0.5783 GB, free: 4.551 MB / 414.1 MB Notification: Performance of SimCode: time 1.834e-06/0.4682, allocations: 0 / 0.5783 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/0.5196, allocations: 28.34 MB / 0.606 GB, free: 8.398 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.5199, allocations: 210.4 kB / 0.6062 GB, free: 8.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.116, allocations: 0 / 0.6062 GB, free: 8.141 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches