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.001589/0.001589, allocations: 117.3 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 212.5 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008185/0.3487, allocations: 5.713 MB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.3531, allocations: 1.837 MB / 0.538 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.354, allocations: 19.31 kB / 0.538 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3555, allocations: 0.5303 MB / 0.5385 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.3572, allocations: 0.666 MB / 0.5392 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.3574, allocations: 23.84 kB / 0.5392 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.3594, allocations: 1.42 MB / 0.5406 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3605, allocations: 0.7167 MB / 0.5413 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.3613, allocations: 479.8 kB / 0.5417 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.3623, allocations: 0.6836 MB / 0.5424 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.3626, allocations: 87 kB / 0.5425 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.3633, allocations: 309.6 kB / 0.5428 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.364, allocations: 0.6592 MB / 0.5434 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008869/0.3649, allocations: 0.8161 MB / 0.5442 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.3682, allocations: 2.664 MB / 0.5468 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3682, allocations: 0 / 0.5468 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3682, allocations: 0 / 0.5468 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.3683, allocations: 0 / 0.5468 GB, free: 1.023 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.003336/0.3716, allocations: 2.01 MB / 0.5488 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3717, allocations: 12.03 kB / 0.5488 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004402/0.3721, allocations: 352.1 kB / 0.5491 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.3772, allocations: 1.477 MB / 0.5506 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.3789, allocations: 0.8554 MB / 0.5514 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.379, allocations: 82.03 kB / 0.5515 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.3793, allocations: 95.92 kB / 0.5516 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/0.3859, allocations: 4.626 MB / 0.5561 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.386, allocations: 19.81 kB / 0.5561 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3862, allocations: 55.91 kB / 0.5562 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.3883, allocations: 1.103 MB / 0.5572 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/0.3956, allocations: 4.008 MB / 0.5612 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/0.418, allocations: 18.46 MB / 0.5792 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.4197, allocations: 1.167 MB / 0.5803 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.4202, allocations: 346.3 kB / 0.5807 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4203, allocations: 7.938 kB / 0.5807 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.4203, allocations: 38.56 kB / 0.5807 GB, free: 13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/0.4203, allocations: 0 / 0.5807 GB, free: 13 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001869/0.4222, allocations: 1.045 MB / 0.5817 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.4223, allocations: 106.8 kB / 0.5818 GB, free: 11.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.426, allocations: 2.208 MB / 0.584 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/0.4261, allocations: 29.7 kB / 0.584 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.4276, allocations: 1.688 MB / 0.5857 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.428, allocations: 270.1 kB / 0.5859 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009363/0.429, allocations: 0.6868 MB / 0.5866 GB, free: 6.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.4292, allocations: 361.9 kB / 0.5869 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4306, allocations: 0.8965 MB / 0.5878 GB, free: 5.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.4342, allocations: 3.163 MB / 0.5909 GB, free: 1.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/0.44, allocations: 4.447 MB / 0.5952 GB, free: 11.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-05/0.4402, allocations: 24 kB / 0.5953 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007166/0.4473, allocations: 3.846 MB / 0.599 GB, free: 7.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.4474, allocations: 40 kB / 0.5991 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.4476, allocations: 83.98 kB / 0.5991 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.4477, allocations: 108 kB / 0.5992 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.4499, allocations: 0.7486 MB / 0.6 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001496/0.4501, allocations: 156 kB / 0.6001 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.4525, allocations: 0.5002 MB / 0.6006 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/0.4528, allocations: 220 kB / 0.6008 GB, free: 5.996 MB / 462.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.0017/0.4546, allocations: 1.097 MB / 0.6019 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.4549, allocations: 186.8 kB / 0.6021 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.4553, allocations: 200 kB / 0.6023 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/0.4553, allocations: 11.94 kB / 0.6023 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4553, allocations: 3.938 kB / 0.6023 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4554, allocations: 7.984 kB / 0.6023 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.4589, allocations: 2.008 MB / 0.6042 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.4589, allocations: 0 / 0.6042 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4592, allocations: 59.91 kB / 0.6043 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.4593, allocations: 4 kB / 0.6043 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.4593, allocations: 11.94 kB / 0.6043 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.4593, allocations: 4 kB / 0.6043 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4593, allocations: 3.984 kB / 0.6043 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4606, allocations: 1.046 MB / 0.6053 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.4611, allocations: 235.8 kB / 0.6056 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4612, allocations: 15.92 kB / 0.6056 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.4617, allocations: 19.97 kB / 0.6056 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.4618, allocations: 23.97 kB / 0.6056 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4618, allocations: 19.98 kB / 0.6056 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002214/0.4641, allocations: 1.371 MB / 0.607 GB, free: 15.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4641, allocations: 0 / 0.607 GB, free: 15.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002367/0.4664, allocations: 495.1 kB / 0.6075 GB, free: 15.05 MB / 478.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.001769/0.4682, allocations: 1.645 MB / 0.6091 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4716, allocations: 2.052 MB / 0.6111 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4716, allocations: 0 / 0.6111 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.4721, allocations: 335.7 kB / 0.6114 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4731, allocations: 170.7 kB / 0.6115 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/0.5054, allocations: 20.37 MB / 0.6314 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.5075, allocations: 1.794 MB / 0.6332 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002429/0.5099, allocations: 1.109 MB / 0.6343 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.5111, allocations: 0.7297 MB / 0.635 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.5112, allocations: 0 / 0.635 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.5742, allocations: 28.96 MB / 0.6633 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.01, allocations: 12.88 kB / 0.6633 GB, free: 3.07 MB / 0.5137 GB (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