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.001164/0.001164, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001311/0.001311, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 67.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3453, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00576/0.3511, allocations: 5.726 MB / 0.524 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.3546, allocations: 1.795 MB / 0.5257 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.3552, allocations: 19.69 kB / 0.5258 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.3564, allocations: 0.5105 MB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.3579, allocations: 0.675 MB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.358, allocations: 18.97 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.3597, allocations: 1.453 MB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.3606, allocations: 0.7131 MB / 0.5291 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000585/0.3612, allocations: 492.8 kB / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.362, allocations: 0.6832 MB / 0.5302 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.3622, allocations: 86.62 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.3628, allocations: 321.8 kB / 0.5306 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005482/0.3634, allocations: 0.6711 MB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.3641, allocations: 0.835 MB / 0.5321 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.3665, allocations: 2.677 MB / 0.5347 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3665, allocations: 0 / 0.5347 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3665, allocations: 0 / 0.5347 GB, free: 8.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.968e-05/0.3666, allocations: 0.9062 kB / 0.5347 GB, free: 8.711 MB / 398.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.003045/0.3696, allocations: 1.977 MB / 0.5366 GB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3697, allocations: 10.09 kB / 0.5366 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004103/0.3701, allocations: 346.2 kB / 0.5369 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/0.3752, allocations: 1.469 MB / 0.5384 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.3771, allocations: 0.8498 MB / 0.5392 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.3772, allocations: 85.56 kB / 0.5393 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.3774, allocations: 94.83 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.383, allocations: 4.623 MB / 0.5439 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.3831, allocations: 19.81 kB / 0.5439 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.3832, allocations: 59.91 kB / 0.544 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/0.385, allocations: 1.099 MB / 0.545 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.3912, allocations: 4.004 MB / 0.5489 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.4107, allocations: 18.43 MB / 0.5669 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4121, allocations: 1.174 MB / 0.5681 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/0.4126, allocations: 350.1 kB / 0.5684 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4126, allocations: 4 kB / 0.5684 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.4127, allocations: 42.5 kB / 0.5685 GB, free: 7.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/0.4127, allocations: 0 / 0.5685 GB, free: 7.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001631/0.4143, allocations: 1.033 MB / 0.5695 GB, free: 6.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.4144, allocations: 110.8 kB / 0.5696 GB, free: 6.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.4174, allocations: 2.205 MB / 0.5717 GB, free: 4.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.4175, allocations: 33.7 kB / 0.5718 GB, free: 4.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.4187, allocations: 1.621 MB / 0.5734 GB, free: 2.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.4189, allocations: 261 kB / 0.5736 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007971/0.4197, allocations: 0.6823 MB / 0.5743 GB, free: 1.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4199, allocations: 357.9 kB / 0.5746 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.4211, allocations: 0.8965 MB / 0.5755 GB, free: 192 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.4238, allocations: 3.166 MB / 0.5786 GB, free: 11.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.428, allocations: 4.443 MB / 0.5829 GB, free: 6.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/0.4281, allocations: 24 kB / 0.5829 GB, free: 6.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005458/0.4335, allocations: 3.837 MB / 0.5867 GB, free: 2.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.4336, allocations: 40 kB / 0.5867 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.518e-05/0.4337, allocations: 84 kB / 0.5868 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.803e-05/0.4338, allocations: 104 kB / 0.5869 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.4358, allocations: 0.7563 MB / 0.5876 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/0.4359, allocations: 163.4 kB / 0.5878 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.4381, allocations: 490.8 kB / 0.5883 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.4383, allocations: 212.2 kB / 0.5885 GB, free: 0.6016 MB / 446.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.001347/0.4397, allocations: 1.098 MB / 0.5895 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.44, allocations: 165.8 kB / 0.5897 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.4403, allocations: 204.1 kB / 0.5899 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.4403, allocations: 8 kB / 0.5899 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4403, allocations: 0 / 0.5899 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4403, allocations: 4 kB / 0.5899 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.4436, allocations: 2.011 MB / 0.5919 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4436, allocations: 4 kB / 0.5919 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4439, allocations: 75.81 kB / 0.5919 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.4439, allocations: 4 kB / 0.5919 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.444, allocations: 11.94 kB / 0.592 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.444, allocations: 288 / 0.592 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.444, allocations: 4 kB / 0.592 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4451, allocations: 1.033 MB / 0.593 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.4454, allocations: 238.7 kB / 0.5932 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4456, allocations: 15.86 kB / 0.5932 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.446, allocations: 23.97 kB / 0.5932 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.4461, allocations: 23.97 kB / 0.5933 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.4462, allocations: 20 kB / 0.5933 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001788/0.4479, allocations: 1.372 MB / 0.5946 GB, free: 10.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.448, allocations: 0 / 0.5946 GB, free: 10.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002296/0.4503, allocations: 0.4949 MB / 0.5951 GB, free: 9.66 MB / 462.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.001547/0.4518, allocations: 1.635 MB / 0.5967 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.4548, allocations: 2.046 MB / 0.5987 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4548, allocations: 8.062 kB / 0.5987 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4552, allocations: 331.7 kB / 0.599 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.4562, allocations: 167.2 kB / 0.5992 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/0.4802, allocations: 20.32 MB / 0.619 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4819, allocations: 1.786 MB / 0.6208 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002207/0.4842, allocations: 1.117 MB / 0.6219 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008957/0.4851, allocations: 0.7375 MB / 0.6226 GB, free: 10.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4851, allocations: 0 / 0.6226 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/0.5369, allocations: 29.41 MB / 0.6513 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.01, allocations: 12.2 kB / 0.6513 GB, free: 13.34 MB / 0.5137 GB (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