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.001573/0.001573, allocations: 106.4 kB / 16.27 MB, free: 6.41 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.002004/0.002005, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2078/0.2078, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001655/0.001655, allocations: 71.12 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09665, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003501/0.1002, allocations: 3.045 MB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004878/0.1007, allocations: 414.5 kB / 444.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1008, allocations: 11.94 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.1009, allocations: 71.3 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1012, allocations: 170.5 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1014, allocations: 95.88 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.1017, allocations: 0.5364 MB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.1019, allocations: 157.1 kB / 445.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.102, allocations: 195.4 kB / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1022, allocations: 223 kB / 445.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.1022, allocations: 40 kB / 445.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.1023, allocations: 40 kB / 445.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1024, allocations: 95.69 kB / 445.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1025, allocations: 246.8 kB / 445.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1028, allocations: 0.5215 MB / 446.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1028, allocations: 4 kB / 446.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1028, allocations: 0 / 446.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1029, allocations: 3.938 kB / 446.5 MB, free: 0.918 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.0007389/0.1036, allocations: 0.7174 MB / 447.2 MB, free: 152 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1036, allocations: 11.89 kB / 447.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.1037, allocations: 86.7 kB / 447.3 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.1038, allocations: 52.55 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1041, allocations: 287.5 kB / 447.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1041, allocations: 37.38 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.1042, allocations: 60.27 kB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1047, allocations: 462.5 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.1048, allocations: 11.84 kB / 448.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1048, allocations: 20 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1048, allocations: 12 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.1052, allocations: 268.4 kB / 448.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1071, allocations: 1.695 MB / 450.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.1076, allocations: 423.3 kB / 450.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1078, allocations: 151.7 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1078, allocations: 4 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1079, allocations: 50.5 kB / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 8.827e-06/0.1079, allocations: 3.984 kB / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.000671/0.1086, allocations: 358.3 kB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1087, allocations: 277.5 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1089, allocations: 254.7 kB / 451.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1089, allocations: 29.7 kB / 451.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1091, allocations: 239.7 kB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1092, allocations: 181.4 kB / 452.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1093, allocations: 110.6 kB / 452.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1094, allocations: 346.8 kB / 452.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1096, allocations: 125.9 kB / 452.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.11, allocations: 421.6 kB / 453.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.1106, allocations: 0.5723 MB / 453.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1106, allocations: 4 kB / 453.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007489/0.1114, allocations: 0.5679 MB / 454.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1114, allocations: 11.98 kB / 454.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1114, allocations: 8.125 kB / 454.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.1114, allocations: 23.94 kB / 454.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.112, allocations: 175.7 kB / 454.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.112, allocations: 19.94 kB / 454.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.1122, allocations: 71.59 kB / 454.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.1123, allocations: 36 kB / 454.5 MB, free: 8.105 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.0001612/0.1125, allocations: 193.4 kB / 454.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1126, allocations: 39.61 kB / 454.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1127, allocations: 41.7 kB / 454.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1127, allocations: 7.938 kB / 454.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1128, allocations: 4 kB / 454.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1128, allocations: 4 kB / 454.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/0.1137, allocations: 405.2 kB / 455.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1137, allocations: 4 kB / 455.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.1142, allocations: 127.9 kB / 455.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1143, allocations: 4 kB / 455.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1143, allocations: 12 kB / 455.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1143, allocations: 11.92 kB / 455.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1143, allocations: 4 kB / 455.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.1151, allocations: 1.075 MB / 456.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1152, allocations: 112.6 kB / 456.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1152, allocations: 15.94 kB / 456.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.1156, allocations: 8 kB / 456.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1157, allocations: 35.89 kB / 456.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1157, allocations: 16 kB / 456.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1158, allocations: 170 kB / 456.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.035e-06/0.1158, allocations: 0 / 456.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.1166, allocations: 139.6 kB / 456.9 MB, free: 5.598 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.0009624/0.1176, allocations: 1.654 MB / 458.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.1181, allocations: 353.8 kB / 458.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1181, allocations: 0 / 458.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1183, allocations: 132.1 kB / 459.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1194, allocations: 93.44 kB / 459.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.1251, allocations: 5.613 MB / 464.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1255, allocations: 0.8236 MB / 465.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.1257, allocations: 48.16 kB / 465.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.1259, allocations: 147.4 kB / 465.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1259, allocations: 4 kB / 465.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6418/0.7677, allocations: 8.109 MB / 473.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.27, allocations: 11.75 kB / 473.9 MB, free: 4.227 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches