Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_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.001536/0.001536, allocations: 105.7 kB / 15.98 MB, free: 5.898 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.001775/0.001775, allocations: 190.8 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 43.52 MB / 313.6 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 63.58 kB / 382.3 MB, free: 56.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1109, allocations: 57.79 MB / 440.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003786/0.1147, allocations: 3.095 MB / 443.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.1156, allocations: 418.5 kB / 443.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1159, allocations: 8 kB / 443.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1161, allocations: 43.62 kB / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1165, allocations: 146.8 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1167, allocations: 83.92 kB / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.1172, allocations: 0.5364 MB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.1175, allocations: 165.1 kB / 444.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1177, allocations: 191.3 kB / 444.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1179, allocations: 215 kB / 445 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.1179, allocations: 40 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.118, allocations: 40 kB / 445.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1181, allocations: 95.67 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1183, allocations: 258.8 kB / 445.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1186, allocations: 0.5177 MB / 445.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1186, allocations: 3.938 kB / 445.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1186, allocations: 0 / 445.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1186, allocations: 0 / 445.9 MB, free: 1.371 MB / 318.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.0009083/0.1196, allocations: 0.7212 MB / 446.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1196, allocations: 11.89 kB / 446.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.1197, allocations: 94.7 kB / 446.8 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.1198, allocations: 48.38 kB / 446.8 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.12, allocations: 287.5 kB / 447.1 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.1201, allocations: 37.38 kB / 447.1 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.1201, allocations: 52.28 kB / 447.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.1209, allocations: 466.6 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.1209, allocations: 15.84 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.121, allocations: 19.98 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.121, allocations: 12 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1215, allocations: 256.8 kB / 447.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1239, allocations: 1.707 MB / 449.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.1244, allocations: 411.8 kB / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1246, allocations: 163.8 kB / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1246, allocations: 4 kB / 450.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1247, allocations: 46.5 kB / 450.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 3.407e-06/0.1247, allocations: 4 kB / 450.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006933/0.1254, allocations: 357.7 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.1255, allocations: 265 kB / 450.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1258, allocations: 250.7 kB / 451.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1258, allocations: 37.7 kB / 451.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.126, allocations: 244.1 kB / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1261, allocations: 177.5 kB / 451.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1263, allocations: 118.6 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1264, allocations: 346.8 kB / 452 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1266, allocations: 114.5 kB / 452.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.127, allocations: 425.6 kB / 452.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.1277, allocations: 0.5762 MB / 453.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1277, allocations: 0 / 453.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007679/0.1285, allocations: 0.5638 MB / 453.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1285, allocations: 12 kB / 453.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1285, allocations: 8 kB / 453.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.1286, allocations: 23.97 kB / 453.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.1291, allocations: 179.7 kB / 453.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.1291, allocations: 23.92 kB / 453.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.1294, allocations: 63.28 kB / 454 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1294, allocations: 32 kB / 454 MB, free: 8.562 MB / 334.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.0001668/0.1296, allocations: 193.4 kB / 454.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.1298, allocations: 35.62 kB / 454.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.1299, allocations: 45.64 kB / 454.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1299, allocations: 11.94 kB / 454.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1299, allocations: 4 kB / 454.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1299, allocations: 3.984 kB / 454.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.1309, allocations: 417.2 kB / 454.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1309, allocations: 4 kB / 454.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.1314, allocations: 119.9 kB / 454.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1314, allocations: 4 kB / 454.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.1315, allocations: 12.12 kB / 454.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1315, allocations: 11.94 kB / 454.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1315, allocations: 4 kB / 454.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.1323, allocations: 1.074 MB / 455.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.1324, allocations: 116.6 kB / 456 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.1324, allocations: 19.94 kB / 456.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1328, allocations: 8 kB / 456.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1329, allocations: 27.91 kB / 456.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.1329, allocations: 23.97 kB / 456.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1331, allocations: 170 kB / 456.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1331, allocations: 7.938 kB / 456.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007683/0.1339, allocations: 139.6 kB / 456.4 MB, free: 6.035 MB / 334.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.001082/0.135, allocations: 1.638 MB / 458.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1355, allocations: 364.5 kB / 458.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1355, allocations: 1.938 kB / 458.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1357, allocations: 127.8 kB / 458.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.1368, allocations: 98.11 kB / 458.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.1428, allocations: 5.769 MB / 464.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1432, allocations: 0.8314 MB / 465.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.1434, allocations: 52.14 kB / 465.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.1435, allocations: 143.3 kB / 465.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1436, allocations: 0 / 465.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.1626, allocations: 8.023 MB / 473.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.1629, allocations: 219.1 kB / 473.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.162, allocations: 4.062 kB / 473.7 MB, free: 4.371 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches