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.001119/0.001119, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.09 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.17 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 62.45 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004419/0.1169, allocations: 3.107 MB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.1178, allocations: 422.5 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.1181, allocations: 8 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1182, allocations: 51.61 kB / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1186, allocations: 138.8 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1188, allocations: 91.92 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1193, allocations: 0.5326 MB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1195, allocations: 164.8 kB / 484.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1197, allocations: 199.2 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.12, allocations: 219 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.12, allocations: 40 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.1201, allocations: 40 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.1202, allocations: 91.69 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1204, allocations: 254.9 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.1208, allocations: 0.5141 MB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1208, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.1208, allocations: 4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.1208, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.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.000895/0.1217, allocations: 0.7096 MB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1218, allocations: 11.97 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.809e-05/0.1219, allocations: 86.7 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.122, allocations: 52.28 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1223, allocations: 295.5 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1223, allocations: 37.31 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.1224, allocations: 60.27 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.1231, allocations: 462.7 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.1231, allocations: 11.84 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.1232, allocations: 20 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1232, allocations: 12 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1236, allocations: 263.6 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1258, allocations: 1.691 MB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.1263, allocations: 419.9 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1265, allocations: 155.8 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1265, allocations: 12 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1266, allocations: 50.48 kB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.1266, allocations: 0 / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006731/0.1272, allocations: 357 kB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1274, allocations: 273 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1276, allocations: 246.6 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1276, allocations: 33.7 kB / 490.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1277, allocations: 239.6 kB / 490.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1279, allocations: 185.8 kB / 491 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.128, allocations: 114.6 kB / 491.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1281, allocations: 350.8 kB / 491.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1283, allocations: 117.9 kB / 491.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1287, allocations: 417.6 kB / 492 MB, free: 8.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.1293, allocations: 0.5771 MB / 492.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1293, allocations: 0 / 492.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007546/0.1301, allocations: 0.5669 MB / 493.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1301, allocations: 15.98 kB / 493.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1301, allocations: 8.844 kB / 493.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.1301, allocations: 19.94 kB / 493.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1307, allocations: 183.7 kB / 493.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.1307, allocations: 15.94 kB / 493.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.131, allocations: 64 kB / 493.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.131, allocations: 32 kB / 493.5 MB, free: 6.816 MB / 366.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.0001749/0.1312, allocations: 185.5 kB / 493.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1314, allocations: 39.61 kB / 493.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/0.1314, allocations: 41.7 kB / 493.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.1315, allocations: 11.94 kB / 493.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.1315, allocations: 8 kB / 493.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1315, allocations: 4 kB / 493.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.1324, allocations: 421.1 kB / 494.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.1325, allocations: 4 kB / 494.2 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.133, allocations: 123.8 kB / 494.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.133, allocations: 4 kB / 494.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.1331, allocations: 16 kB / 494.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1331, allocations: 11.92 kB / 494.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1331, allocations: 0 / 494.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.1339, allocations: 1.078 MB / 495.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.134, allocations: 116.6 kB / 495.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.134, allocations: 19.94 kB / 495.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.1344, allocations: 4 kB / 495.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1345, allocations: 35.89 kB / 495.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1345, allocations: 16 kB / 495.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1347, allocations: 166 kB / 495.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1347, allocations: 0 / 495.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008074/0.1355, allocations: 131.8 kB / 495.9 MB, free: 4.309 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.0009848/0.1365, allocations: 1.639 MB / 497.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.137, allocations: 368.5 kB / 497.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.137, allocations: 0 / 497.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1372, allocations: 126.1 kB / 498 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.1384, allocations: 104 kB / 498.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.1447, allocations: 5.762 MB / 0.4921 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.1452, allocations: 0.8313 MB / 0.4929 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1454, allocations: 52.16 kB / 0.4929 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1456, allocations: 143.4 kB / 0.4931 GB, free: 10.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1456, allocations: 0 / 0.4931 GB, free: 10.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1663, allocations: 8.018 MB / 0.5009 GB, free: 3.023 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.1666, allocations: 218.5 kB / 0.5011 GB, free: 2.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.205, allocations: 0 / 0.5011 GB, free: 2.766 MB / 382.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