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.001314/0.001314, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003668/0.003668, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3364, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004459/0.3409, allocations: 3.074 MB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.3419, allocations: 426.7 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3421, allocations: 10.81 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.3424, allocations: 62.19 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.3427, allocations: 165.8 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.343, allocations: 101.5 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.3436, allocations: 0.5402 MB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3439, allocations: 162.1 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.3442, allocations: 202.3 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.3445, allocations: 214.4 kB / 0.5354 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.3446, allocations: 40.66 kB / 0.5355 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.3446, allocations: 39.88 kB / 0.5355 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.3447, allocations: 94.81 kB / 0.5356 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.345, allocations: 250.8 kB / 0.5358 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006462/0.3457, allocations: 0.5275 MB / 0.5363 GB, free: 8.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3457, allocations: 3.984 kB / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3457, allocations: 0 / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.3457, allocations: 1.312 kB / 0.5364 GB, free: 8.969 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.001149/0.3469, allocations: 0.7219 MB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3469, allocations: 10.38 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.731e-05/0.347, allocations: 89.45 kB / 0.5372 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3472, allocations: 55.7 kB / 0.5372 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.3476, allocations: 295.1 kB / 0.5375 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.3476, allocations: 36.34 kB / 0.5375 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.3477, allocations: 56.22 kB / 0.5376 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.3485, allocations: 458.2 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.3485, allocations: 11.05 kB / 0.538 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.3486, allocations: 20.75 kB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3486, allocations: 12.84 kB / 0.5381 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.349, allocations: 257.2 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.3515, allocations: 1.691 MB / 0.5399 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.3521, allocations: 418.6 kB / 0.5403 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3524, allocations: 159.3 kB / 0.5405 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3524, allocations: 5.875 kB / 0.5405 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3525, allocations: 47 kB / 0.5406 GB, free: 5.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.655e-06/0.3525, allocations: 0 / 0.5406 GB, free: 5.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007968/0.3533, allocations: 361.2 kB / 0.5409 GB, free: 5.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.3534, allocations: 270.7 kB / 0.5412 GB, free: 4.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3537, allocations: 252 kB / 0.5414 GB, free: 4.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.3538, allocations: 36.42 kB / 0.5414 GB, free: 4.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.354, allocations: 258.1 kB / 0.5417 GB, free: 4.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.3542, allocations: 183.3 kB / 0.5418 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3543, allocations: 120.1 kB / 0.542 GB, free: 4.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3545, allocations: 351.7 kB / 0.5423 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3547, allocations: 118.2 kB / 0.5424 GB, free: 3.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.3552, allocations: 423.5 kB / 0.5428 GB, free: 3.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.3559, allocations: 0.569 MB / 0.5434 GB, free: 2.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3559, allocations: 2.25 kB / 0.5434 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009198/0.3569, allocations: 0.5639 MB / 0.5439 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3569, allocations: 13.88 kB / 0.5439 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3569, allocations: 18.25 kB / 0.544 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.357, allocations: 17.12 kB / 0.544 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.3575, allocations: 177.1 kB / 0.5441 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/0.3575, allocations: 21.89 kB / 0.5442 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3579, allocations: 63.52 kB / 0.5442 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.3579, allocations: 35.38 kB / 0.5443 GB, free: 2.457 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.0002408/0.3582, allocations: 182.2 kB / 0.5444 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.3584, allocations: 51.06 kB / 0.5445 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/0.3585, allocations: 42.33 kB / 0.5445 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.3585, allocations: 10.53 kB / 0.5445 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3585, allocations: 3.438 kB / 0.5445 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3585, allocations: 2.188 kB / 0.5445 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3596, allocations: 419.3 kB / 0.5449 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3596, allocations: 6.531 kB / 0.5449 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.3602, allocations: 123.2 kB / 0.5451 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3602, allocations: 3.781 kB / 0.5451 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.3603, allocations: 10.31 kB / 0.5451 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.3603, allocations: 11.55 kB / 0.5451 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3603, allocations: 6.75 kB / 0.5451 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3613, allocations: 1.089 MB / 0.5462 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3615, allocations: 109.4 kB / 0.5463 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.3615, allocations: 20.72 kB / 0.5463 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.362, allocations: 4 kB / 0.5463 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.362, allocations: 35.89 kB / 0.5463 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.3621, allocations: 12 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3622, allocations: 174 kB / 0.5465 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3622, allocations: 0 / 0.5465 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000919/0.3632, allocations: 139.7 kB / 0.5466 GB, free: 448 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.001421/0.3646, allocations: 1.631 MB / 0.5482 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.3653, allocations: 349.1 kB / 0.5486 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3653, allocations: 0 / 0.5486 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.3655, allocations: 136.4 kB / 0.5487 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3668, allocations: 106.1 kB / 0.5488 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.3743, allocations: 5.613 MB / 0.5543 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.3749, allocations: 0.8275 MB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.3751, allocations: 48.16 kB / 0.5551 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3753, allocations: 139.4 kB / 0.5553 GB, free: 7.16 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3753, allocations: 0 / 0.5553 GB, free: 7.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.4096, allocations: 8.298 MB / 0.5634 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.193, allocations: 8.562 kB / 0.5634 GB, free: 15.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/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