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.001248/0.001248, allocations: 114.2 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.001367/0.001367, allocations: 205.2 kB / 18.74 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.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3522, allocations: 62.43 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004724/0.357, allocations: 3.073 MB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.358, allocations: 421.7 kB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3582, allocations: 11.38 kB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3584, allocations: 67.22 kB / 0.534 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.3588, allocations: 169.8 kB / 0.5341 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3591, allocations: 98.72 kB / 0.5342 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000718/0.3598, allocations: 0.5438 MB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.3601, allocations: 161.7 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.3605, allocations: 210.2 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3607, allocations: 217.9 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.3608, allocations: 40.25 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.3609, allocations: 40.84 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.361, allocations: 94 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.3613, allocations: 247.1 kB / 0.5357 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006233/0.3619, allocations: 0.5273 MB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3619, allocations: 0 / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3619, allocations: 1.375 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3619, allocations: 0 / 0.5362 GB, free: 8.938 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.001129/0.3631, allocations: 0.73 MB / 0.537 GB, free: 8.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3631, allocations: 9.438 kB / 0.537 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.3633, allocations: 90.45 kB / 0.5371 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3634, allocations: 54.7 kB / 0.5371 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.3638, allocations: 292.1 kB / 0.5374 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.3638, allocations: 35.88 kB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.3639, allocations: 56.86 kB / 0.5375 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3646, allocations: 453.2 kB / 0.5379 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.3646, allocations: 16.42 kB / 0.5379 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.3647, allocations: 20.44 kB / 0.5379 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3647, allocations: 11.66 kB / 0.538 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.3652, allocations: 261.2 kB / 0.5382 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.3675, allocations: 1.691 MB / 0.5399 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3681, allocations: 415.1 kB / 0.5402 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.3683, allocations: 155.2 kB / 0.5404 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3684, allocations: 12.55 kB / 0.5404 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3684, allocations: 43.09 kB / 0.5405 GB, free: 5.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.3684, allocations: 0 / 0.5405 GB, free: 5.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007534/0.3692, allocations: 361.7 kB / 0.5408 GB, free: 5.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.3693, allocations: 271.6 kB / 0.5411 GB, free: 4.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.3697, allocations: 256 kB / 0.5413 GB, free: 4.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3697, allocations: 31.55 kB / 0.5413 GB, free: 4.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3699, allocations: 254.3 kB / 0.5416 GB, free: 4.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3701, allocations: 187.5 kB / 0.5417 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3702, allocations: 111.9 kB / 0.5419 GB, free: 4.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3704, allocations: 358.3 kB / 0.5422 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3706, allocations: 118.2 kB / 0.5423 GB, free: 3.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.371, allocations: 415.6 kB / 0.5427 GB, free: 3.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008368/0.3719, allocations: 0.5769 MB / 0.5433 GB, free: 2.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.3719, allocations: 3.25 kB / 0.5433 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009656/0.3729, allocations: 0.5669 MB / 0.5438 GB, free: 2.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3729, allocations: 11.5 kB / 0.5438 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3729, allocations: 14.27 kB / 0.5439 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.373, allocations: 18.16 kB / 0.5439 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.3736, allocations: 177.9 kB / 0.544 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.3736, allocations: 26.14 kB / 0.5441 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.374, allocations: 66.55 kB / 0.5441 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.374, allocations: 35.2 kB / 0.5442 GB, free: 2.418 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.0002401/0.3743, allocations: 187.1 kB / 0.5443 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3745, allocations: 39.11 kB / 0.5444 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.3746, allocations: 42.2 kB / 0.5444 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3746, allocations: 10.66 kB / 0.5444 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3746, allocations: 2.25 kB / 0.5444 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3746, allocations: 14.2 kB / 0.5444 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3757, allocations: 412.3 kB / 0.5448 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3758, allocations: 6.078 kB / 0.5448 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.3763, allocations: 119.4 kB / 0.545 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3764, allocations: 3.781 kB / 0.545 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.3764, allocations: 18.14 kB / 0.545 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.3764, allocations: 11.25 kB / 0.545 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3764, allocations: 3.281 kB / 0.545 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.3773, allocations: 1.085 MB / 0.546 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3774, allocations: 111.9 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.3775, allocations: 21.42 kB / 0.5462 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.3779, allocations: 11.28 kB / 0.5462 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3779, allocations: 29.56 kB / 0.5462 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.378, allocations: 11 kB / 0.5462 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3781, allocations: 178.5 kB / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3781, allocations: 0 / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009832/0.3791, allocations: 139.7 kB / 0.5465 GB, free: 480 kB / 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.001415/0.3805, allocations: 1.627 MB / 0.5481 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.3812, allocations: 348.7 kB / 0.5485 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3812, allocations: 0 / 0.5485 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3814, allocations: 131.8 kB / 0.5486 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.3826, allocations: 108 kB / 0.5487 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.3899, allocations: 5.613 MB / 0.5542 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.3904, allocations: 0.8275 MB / 0.555 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.3907, allocations: 52.16 kB / 0.555 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.3909, allocations: 143.4 kB / 0.5552 GB, free: 7.188 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3909, allocations: 0 / 0.5552 GB, free: 7.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4203, allocations: 8.289 MB / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.073, allocations: 24.62 kB / 0.5633 GB, free: 15.04 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