Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.00264, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3652, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004277/0.3695, allocations: 3.078 MB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.3705, allocations: 419 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3707, allocations: 10.72 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.3709, allocations: 67.09 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.3713, allocations: 169.7 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3716, allocations: 102.6 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.3722, allocations: 0.5354 MB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.3725, allocations: 167 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.3728, allocations: 206.2 kB / 0.5351 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.373, allocations: 214.5 kB / 0.5353 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.3731, allocations: 39.88 kB / 0.5354 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.3732, allocations: 40.44 kB / 0.5354 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.3733, allocations: 96.89 kB / 0.5355 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.3736, allocations: 256.6 kB / 0.5357 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.3743, allocations: 0.5264 MB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3743, allocations: 1.156 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3743, allocations: 0 / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3744, allocations: 0 / 0.5363 GB, free: 9.008 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001266/0.3756, allocations: 0.7265 MB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.3757, allocations: 13.78 kB / 0.537 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.3758, allocations: 89.89 kB / 0.5371 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.3759, allocations: 55.67 kB / 0.5371 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3763, allocations: 287.4 kB / 0.5374 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.3764, allocations: 36.47 kB / 0.5374 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.3765, allocations: 52.45 kB / 0.5375 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.3773, allocations: 465.5 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.3774, allocations: 15.33 kB / 0.5379 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.3774, allocations: 16.88 kB / 0.5379 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3774, allocations: 12.25 kB / 0.538 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.3779, allocations: 256.9 kB / 0.5382 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.3802, allocations: 1.696 MB / 0.5399 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.3808, allocations: 407.3 kB / 0.5402 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.381, allocations: 166.4 kB / 0.5404 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.381, allocations: 9.797 kB / 0.5404 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3811, allocations: 46.38 kB / 0.5405 GB, free: 5.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/0.3811, allocations: 0 / 0.5405 GB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007838/0.3819, allocations: 361.8 kB / 0.5408 GB, free: 5.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.382, allocations: 266.8 kB / 0.5411 GB, free: 4.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3823, allocations: 252.4 kB / 0.5413 GB, free: 4.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3824, allocations: 40.23 kB / 0.5413 GB, free: 4.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3825, allocations: 253.6 kB / 0.5416 GB, free: 4.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3826, allocations: 184.5 kB / 0.5418 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3828, allocations: 118.5 kB / 0.5419 GB, free: 4.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3829, allocations: 351.6 kB / 0.5422 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3831, allocations: 122.8 kB / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.3835, allocations: 414.8 kB / 0.5427 GB, free: 3.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.3842, allocations: 0.5726 MB / 0.5433 GB, free: 2.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3842, allocations: 2.375 kB / 0.5433 GB, free: 2.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008543/0.385, allocations: 0.5636 MB / 0.5438 GB, free: 2.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3851, allocations: 14.5 kB / 0.5438 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3851, allocations: 8.969 kB / 0.5439 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/0.3851, allocations: 18.59 kB / 0.5439 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.3857, allocations: 180.1 kB / 0.544 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.3857, allocations: 22.45 kB / 0.5441 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.386, allocations: 70.67 kB / 0.5441 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.3861, allocations: 31.84 kB / 0.5442 GB, free: 2.492 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0002062/0.3863, allocations: 182.9 kB / 0.5443 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3865, allocations: 46.83 kB / 0.5444 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.3866, allocations: 38.42 kB / 0.5444 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3866, allocations: 10.53 kB / 0.5444 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3866, allocations: 2.438 kB / 0.5444 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3866, allocations: 6.203 kB / 0.5444 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3877, allocations: 425.1 kB / 0.5448 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3877, allocations: 6.188 kB / 0.5448 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.3883, allocations: 122.6 kB / 0.545 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.3883, allocations: 3.25 kB / 0.545 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3883, allocations: 10.97 kB / 0.545 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.3884, allocations: 11.22 kB / 0.545 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3884, allocations: 2.344 kB / 0.545 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.3893, allocations: 1.093 MB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3895, allocations: 107.8 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.3895, allocations: 21.67 kB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.3899, allocations: 7.5 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.39, allocations: 30.81 kB / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.39, allocations: 13.78 kB / 0.5462 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3902, allocations: 178.3 kB / 0.5464 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3902, allocations: 0 / 0.5464 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008765/0.3911, allocations: 139.7 kB / 0.5465 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001119/0.3922, allocations: 1.627 MB / 0.5481 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.3928, allocations: 353 kB / 0.5485 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3928, allocations: 3.938 kB / 0.5485 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3929, allocations: 128.6 kB / 0.5486 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.3942, allocations: 110.4 kB / 0.5487 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.4006, allocations: 5.606 MB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.4011, allocations: 0.8314 MB / 0.555 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.4013, allocations: 48.16 kB / 0.555 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.4014, allocations: 139.4 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4014, allocations: 0 / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.4329, allocations: 8.293 MB / 0.5633 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.091, allocations: 15.98 kB / 0.5633 GB, free: 15.11 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_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_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches