Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",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.001446/0.001446, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001653/0.001653, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2157/0.2157, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 63.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3463, allocations: 60.82 MB / 0.5184 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008639/0.355, allocations: 7.477 MB / 0.5257 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007312/0.3623, allocations: 3.331 MB / 0.529 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.3638, allocations: 35.44 kB / 0.529 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.3661, allocations: 0.7995 MB / 0.5298 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.3704, allocations: 1.345 MB / 0.5311 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3722, allocations: 0.5375 MB / 0.5316 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004726/0.3769, allocations: 2.567 MB / 0.5341 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.3796, allocations: 1.242 MB / 0.5353 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.3817, allocations: 0.7785 MB / 0.5361 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.3844, allocations: 1.122 MB / 0.5372 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007357/0.3852, allocations: 139.1 kB / 0.5373 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.3878, allocations: 0.9399 MB / 0.5382 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.3894, allocations: 1.023 MB / 0.5392 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002698/0.3922, allocations: 1.224 MB / 0.5404 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007216/0.3994, allocations: 4.094 MB / 0.5444 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3995, allocations: 0 / 0.5444 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.591e-06/0.3995, allocations: 0 / 0.5444 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.3997, allocations: 3.938 kB / 0.5444 GB, free: 1.383 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.007937/0.4076, allocations: 3.046 MB / 0.5474 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4077, allocations: 8.031 kB / 0.5474 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009913/0.4087, allocations: 458.5 kB / 0.5479 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/0.4152, allocations: 1.676 MB / 0.5495 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.4192, allocations: 1.668 MB / 0.5511 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.4194, allocations: 126.6 kB / 0.5512 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007129/0.4201, allocations: 167.8 kB / 0.5514 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.4312, allocations: 6.456 MB / 0.5577 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.822e-05/0.4313, allocations: 31.7 kB / 0.5577 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/0.4318, allocations: 83.89 kB / 0.5578 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002739/0.4345, allocations: 1.437 MB / 0.5592 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.446, allocations: 5.74 MB / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03636/0.4824, allocations: 26.76 MB / 0.5909 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.487, allocations: 2.142 MB / 0.593 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4886, allocations: 1.046 MB / 0.5941 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.4888, allocations: 174.5 kB / 0.5942 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4889, allocations: 46.89 kB / 0.5943 GB, free: 12.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/0.4889, allocations: 0 / 0.5943 GB, free: 12.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01741/0.5063, allocations: 6.506 MB / 0.6006 GB, free: 6.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.5064, allocations: 141 kB / 0.6008 GB, free: 5.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.511, allocations: 2.91 MB / 0.6036 GB, free: 3.016 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.5113, allocations: 45.69 kB / 0.6036 GB, free: 2.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.5129, allocations: 2.19 MB / 0.6058 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.5135, allocations: 476.5 kB / 0.6062 GB, free: 292 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.515, allocations: 0.8936 MB / 0.6071 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5151, allocations: 313.1 kB / 0.6074 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.5175, allocations: 1.414 MB / 0.6088 GB, free: 13.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.5219, allocations: 4.287 MB / 0.613 GB, free: 7.906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.5291, allocations: 6.197 MB / 0.619 GB, free: 284 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.5293, allocations: 32 kB / 0.6191 GB, free: 252 kB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01026/0.5396, allocations: 5.502 MB / 0.6244 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.5397, allocations: 51.75 kB / 0.6245 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/0.5399, allocations: 100 kB / 0.6246 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.5401, allocations: 136 kB / 0.6247 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/0.5449, allocations: 1.221 MB / 0.6259 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/0.5452, allocations: 199.2 kB / 0.6261 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.5491, allocations: 243.6 kB / 0.6263 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009625/0.5501, allocations: 284 kB / 0.6266 GB, free: 8.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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.003243/0.5533, allocations: 1.38 MB / 0.6279 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009376/0.5543, allocations: 258.2 kB / 0.6282 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5572, allocations: 1.242 MB / 0.6294 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/0.5573, allocations: 12.28 kB / 0.6294 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.5573, allocations: 0 / 0.6294 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.5573, allocations: 7.984 kB / 0.6294 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.568, allocations: 4.56 MB / 0.6339 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.5681, allocations: 8.062 kB / 0.6339 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.5702, allocations: 371.3 kB / 0.6342 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.5703, allocations: 11.94 kB / 0.6342 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.5704, allocations: 31.97 kB / 0.6343 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.5704, allocations: 11.94 kB / 0.6343 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5704, allocations: 7.938 kB / 0.6343 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.5736, allocations: 2.169 MB / 0.6364 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5748, allocations: 323.2 kB / 0.6367 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006725/0.5755, allocations: 20 kB / 0.6367 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.577, allocations: 59.86 kB / 0.6368 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.5772, allocations: 71.8 kB / 0.6369 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5773, allocations: 36 kB / 0.6369 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00392/0.5812, allocations: 1.819 MB / 0.6387 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5813, allocations: 0 / 0.6387 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004591/0.5859, allocations: 0.6288 MB / 0.6393 GB, free: 11.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * 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.003834/0.5897, allocations: 2.806 MB / 0.642 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00553/0.5953, allocations: 3.267 MB / 0.6452 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.5953, allocations: 0 / 0.6452 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.5965, allocations: 0.7959 MB / 0.646 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.599, allocations: 273.9 kB / 0.6463 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04911/0.6481, allocations: 29.83 MB / 0.6754 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/0.6512, allocations: 2.214 MB / 0.6775 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003677/0.6549, allocations: 1.459 MB / 0.679 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/0.6571, allocations: 1.077 MB / 0.68 GB, free: 13.46 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6572, allocations: 4 kB / 0.68 GB, free: 13.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07914/0.7363, allocations: 41.31 MB / 0.7204 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/17.65, allocations: 3.938 kB / 0.7204 GB, free: 4.375 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches