Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",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.001214/0.001214, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001584/0.001585, allocations: 194 kB / 18.12 MB, free: 5.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.352/1.352, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2069/0.2069, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 68.45 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004309/0.121, allocations: 3.094 MB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.122, allocations: 414.5 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.1224, allocations: 8 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1226, allocations: 43.62 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1231, allocations: 142.8 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1234, allocations: 91.92 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.1242, allocations: 0.5208 MB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.1245, allocations: 132.8 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.1248, allocations: 191.2 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.1252, allocations: 207 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.1253, allocations: 28 kB / 473.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1255, allocations: 28 kB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.1256, allocations: 79.69 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.1259, allocations: 238.9 kB / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.1264, allocations: 0.4946 MB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.1264, allocations: 4 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1264, allocations: 0 / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.1265, allocations: 0 / 474.3 MB, free: 9.027 MB / 350.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.001113/0.1276, allocations: 0.7097 MB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1276, allocations: 12.03 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.645e-05/0.1277, allocations: 86.64 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.1278, allocations: 56.28 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1282, allocations: 291.6 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.1282, allocations: 29.38 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.1283, allocations: 60.28 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.129, allocations: 462.6 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.129, allocations: 11.84 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1291, allocations: 20 kB / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1291, allocations: 12 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.1297, allocations: 278.5 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.1325, allocations: 1.695 MB / 478 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.1331, allocations: 419.6 kB / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.1333, allocations: 159.6 kB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1334, allocations: 8 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1334, allocations: 50.5 kB / 478.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.1334, allocations: 0 / 478.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.000769/0.1342, allocations: 350.2 kB / 479 MB, free: 4.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000274/0.1345, allocations: 277.5 kB / 479.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1348, allocations: 246.6 kB / 479.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1348, allocations: 29.7 kB / 479.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.135, allocations: 247.6 kB / 479.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1352, allocations: 181.4 kB / 479.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1354, allocations: 122.6 kB / 480 MB, free: 2.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1356, allocations: 346.8 kB / 480.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1358, allocations: 114 kB / 480.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.1362, allocations: 417.6 kB / 480.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.1372, allocations: 0.5806 MB / 481.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.1372, allocations: 4 kB / 481.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001055/0.1383, allocations: 0.5674 MB / 482.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.1383, allocations: 10.34 kB / 482.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.1383, allocations: 12 kB / 482.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.1384, allocations: 15.94 kB / 482.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.139, allocations: 179.7 kB / 482.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/0.1391, allocations: 23.92 kB / 482.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.1395, allocations: 59.75 kB / 482.3 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.1396, allocations: 40 kB / 482.4 MB, free: 228 kB / 350.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.0002938/0.1399, allocations: 181.5 kB / 482.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.1401, allocations: 35.62 kB / 482.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1402, allocations: 41.7 kB / 482.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.1402, allocations: 11.94 kB / 482.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.1403, allocations: 0 / 482.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.1403, allocations: 7.984 kB / 482.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1414, allocations: 421.1 kB / 483.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1414, allocations: 0 / 483.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.142, allocations: 135.8 kB / 483.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.142, allocations: 4 kB / 483.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.142, allocations: 8 kB / 483.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.1421, allocations: 11.88 kB / 483.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1421, allocations: 4 kB / 483.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.143, allocations: 1.078 MB / 484.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1431, allocations: 116.6 kB / 484.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.1432, allocations: 15.94 kB / 484.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.1437, allocations: 12.12 kB / 484.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.1437, allocations: 35.91 kB / 484.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.1438, allocations: 15.98 kB / 484.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.144, allocations: 170 kB / 484.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.144, allocations: 0 / 484.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009967/0.145, allocations: 131.8 kB / 484.8 MB, free: 13.71 MB / 366.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.00157/0.1466, allocations: 1.639 MB / 486.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.1473, allocations: 349.6 kB / 486.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1473, allocations: 4.062 kB / 486.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.1475, allocations: 123.8 kB / 486.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.1488, allocations: 84.48 kB / 487 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007059/0.1559, allocations: 5.772 MB / 492.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1563, allocations: 0.8317 MB / 493.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1565, allocations: 48.16 kB / 493.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1567, allocations: 143.4 kB / 493.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1567, allocations: 7.938 kB / 493.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1769, allocations: 7.811 MB / 0.4898 GB, free: 12.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003877/0.1773, allocations: 214.7 kB / 0.49 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.216, allocations: 0 / 0.49 GB, free: 12.38 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches