Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008824, allocations: 93.09 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009769/0.0009768, allocations: 172.4 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1881/0.1881, allocations: 44.24 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 12 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09682, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008776/0.1056, allocations: 8.733 MB / 481.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.1101, allocations: 2.333 MB / 483.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1112, allocations: 35.88 kB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.1119, allocations: 211.1 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.1134, allocations: 0.6501 MB / 484.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1136, allocations: 15.98 kB / 484.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.1154, allocations: 2.057 MB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.1165, allocations: 0.9306 MB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.1169, allocations: 414 kB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.1177, allocations: 0.7083 MB / 488.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1178, allocations: 55.94 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.1182, allocations: 295.5 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.1187, allocations: 0.6582 MB / 489.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.1193, allocations: 0.832 MB / 490.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.1211, allocations: 2.464 MB / 492.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1211, allocations: 7.938 kB / 492.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1211, allocations: 0 / 492.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.1211, allocations: 0 / 492.7 MB, free: 8.77 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.001978/0.1231, allocations: 1.639 MB / 494.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1232, allocations: 15.97 kB / 494.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/0.1235, allocations: 348.1 kB / 494.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.1282, allocations: 1.511 MB / 496.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1294, allocations: 0.8474 MB / 497.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.1295, allocations: 82.03 kB / 497.2 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.1297, allocations: 99.92 kB / 497.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/0.1344, allocations: 4.629 MB / 0.4901 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.1345, allocations: 19.81 kB / 0.4901 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.1346, allocations: 55.91 kB / 0.4902 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/0.1362, allocations: 1.107 MB / 0.4913 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005354/0.1416, allocations: 4.008 MB / 0.4952 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1918/0.3334, allocations: 18.48 MB / 0.5132 GB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3346, allocations: 1.171 MB / 0.5144 GB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.335, allocations: 343.2 kB / 0.5147 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3351, allocations: 8.609 kB / 0.5147 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3351, allocations: 38.44 kB / 0.5148 GB, free: 32.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.925e-06/0.3351, allocations: 2.531 kB / 0.5148 GB, free: 32.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001524/0.3366, allocations: 1.031 MB / 0.5158 GB, free: 32.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3367, allocations: 111.2 kB / 0.5159 GB, free: 32.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.3395, allocations: 2.214 MB / 0.518 GB, free: 31.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3396, allocations: 34.59 kB / 0.5181 GB, free: 31.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008201/0.3404, allocations: 1.62 MB / 0.5197 GB, free: 30.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.3406, allocations: 263.3 kB / 0.5199 GB, free: 30.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.3409, allocations: 289.8 kB / 0.5202 GB, free: 30.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.341, allocations: 353.5 kB / 0.5205 GB, free: 30.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3422, allocations: 0.897 MB / 0.5214 GB, free: 29.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.3444, allocations: 3.165 MB / 0.5245 GB, free: 26.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.348, allocations: 4.452 MB / 0.5288 GB, free: 22.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.417e-05/0.348, allocations: 22.91 kB / 0.5289 GB, free: 22.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005338/0.3534, allocations: 3.842 MB / 0.5326 GB, free: 20.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.3534, allocations: 39.38 kB / 0.5326 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.813e-05/0.3535, allocations: 82.41 kB / 0.5327 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.515e-05/0.3536, allocations: 106.2 kB / 0.5328 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.3553, allocations: 0.7534 MB / 0.5336 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.95e-05/0.3554, allocations: 159.2 kB / 0.5337 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.3573, allocations: 499.4 kB / 0.5342 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.3576, allocations: 217.4 kB / 0.5344 GB, free: 20.35 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.001075/0.3587, allocations: 1.098 MB / 0.5355 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3588, allocations: 167.4 kB / 0.5356 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3591, allocations: 204.2 kB / 0.5358 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3591, allocations: 13.78 kB / 0.5358 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3591, allocations: 3.938 kB / 0.5358 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3592, allocations: 3.938 kB / 0.5358 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.3615, allocations: 2.015 MB / 0.5378 GB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3615, allocations: 7.688 kB / 0.5378 GB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3617, allocations: 58.53 kB / 0.5379 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3617, allocations: 3.531 kB / 0.5379 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3617, allocations: 7.531 kB / 0.5379 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3617, allocations: 6.891 kB / 0.5379 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3618, allocations: 0 / 0.5379 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.3625, allocations: 1.03 MB / 0.5389 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3627, allocations: 242.2 kB / 0.5391 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.3629, allocations: 7.609 kB / 0.5391 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3633, allocations: 31.55 kB / 0.5392 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.3634, allocations: 23.16 kB / 0.5392 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.3634, allocations: 25.11 kB / 0.5392 GB, free: 17.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.3647, allocations: 1.374 MB / 0.5406 GB, free: 17.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 0 / 0.5406 GB, free: 17.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001754/0.3665, allocations: 0.4962 MB / 0.541 GB, free: 16.73 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.001031/0.3676, allocations: 1.643 MB / 0.5426 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3696, allocations: 2.029 MB / 0.5446 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3696, allocations: 6 kB / 0.5446 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.3699, allocations: 331.7 kB / 0.5449 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.3709, allocations: 171 kB / 0.5451 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.3942, allocations: 22.27 MB / 0.5669 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.3959, allocations: 1.786 MB / 0.5686 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002417/0.3983, allocations: 1.121 MB / 0.5697 GB, free: 0 / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009267/0.3993, allocations: 0.7362 MB / 0.5704 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3993, allocations: 0 / 0.5704 GB, free: 15.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.4409, allocations: 27.81 MB / 0.5976 GB, free: 3.707 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.4412, allocations: 210.1 kB / 0.5978 GB, free: 3.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.792, allocations: 4 kB / 0.5978 GB, free: 3.445 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches