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: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 106 kB / 17.08 MB, free: 5.824 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.001233/0.001233, allocations: 194.2 kB / 18.02 MB, free: 4.965 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.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1985/0.1985, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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.001473/0.001473, allocations: 63.91 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004524/0.109, allocations: 3.064 MB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1101, allocations: 414.5 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.1104, allocations: 11.94 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1107, allocations: 67.31 kB / 0.492 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.1112, allocations: 166.5 kB / 0.4922 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1115, allocations: 99.86 kB / 0.4923 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.1121, allocations: 0.5403 MB / 0.4928 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.1124, allocations: 164.8 kB / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.1127, allocations: 203.3 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.113, allocations: 215 kB / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.1131, allocations: 40 kB / 0.4934 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1132, allocations: 40 kB / 0.4934 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.1133, allocations: 103.6 kB / 0.4935 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.1136, allocations: 242.9 kB / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.1142, allocations: 0.5255 MB / 0.4943 GB, free: 5.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1142, allocations: 0 / 0.4943 GB, free: 5.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.1142, allocations: 0 / 0.4943 GB, free: 5.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.1142, allocations: 3.938 kB / 0.4943 GB, free: 5.941 MB / 382.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.001134/0.1154, allocations: 0.7174 MB / 0.495 GB, free: 5.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1154, allocations: 15.89 kB / 0.495 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.1155, allocations: 48.38 kB / 0.495 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1159, allocations: 299.4 kB / 0.4953 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1159, allocations: 37.38 kB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.116, allocations: 52.28 kB / 0.4954 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.1167, allocations: 458.6 kB / 0.4958 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.1167, allocations: 8.094 kB / 0.4958 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1167, allocations: 31.92 kB / 0.4959 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1168, allocations: 16 kB / 0.4959 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1172, allocations: 251.2 kB / 0.4961 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.1193, allocations: 1.687 MB / 0.4978 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.1199, allocations: 423.5 kB / 0.4982 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1201, allocations: 159.6 kB / 0.4983 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1201, allocations: 8 kB / 0.4983 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1202, allocations: 50.44 kB / 0.4984 GB, free: 1.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.1202, allocations: 0 / 0.4984 GB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007194/0.1209, allocations: 354.2 kB / 0.4987 GB, free: 1.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1211, allocations: 276.9 kB / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1213, allocations: 254.7 kB / 0.4992 GB, free: 456 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1213, allocations: 29.7 kB / 0.4993 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1215, allocations: 243.7 kB / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1217, allocations: 173.6 kB / 0.4997 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1218, allocations: 118.6 kB / 0.4998 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1219, allocations: 350.8 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1221, allocations: 114.1 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1225, allocations: 425.6 kB / 0.5006 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.1231, allocations: 0.5693 MB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1231, allocations: 4 kB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008653/0.124, allocations: 0.5671 MB / 0.5017 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.124, allocations: 8 kB / 0.5017 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.124, allocations: 11.98 kB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.1241, allocations: 16 kB / 0.5018 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.1246, allocations: 180.3 kB / 0.5019 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.1246, allocations: 27.86 kB / 0.502 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1249, allocations: 63.38 kB / 0.502 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.125, allocations: 36 kB / 0.5021 GB, free: 13.23 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.000194/0.1252, allocations: 185.5 kB / 0.5022 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.1254, allocations: 39.53 kB / 0.5023 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/0.1255, allocations: 41.7 kB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1255, allocations: 3.984 kB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1255, allocations: 7.938 kB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1256, allocations: 108.7 kB / 0.5024 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.1257, allocations: 16 kB / 0.5024 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.126, allocations: 12.12 kB / 0.5025 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.1261, allocations: 35.88 kB / 0.5025 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/0.1273, allocations: 1.077 MB / 0.5035 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001028/0.1283, allocations: 1.225 MB / 0.5047 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001774/0.1285, allocations: 127.8 kB / 0.5049 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1287, allocations: 174 kB / 0.505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Backend: time 1.673e-06/0.1287, allocations: 0 / 0.505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.1301, allocations: 358.4 kB / 0.5054 GB, free: 9.77 MB / 398.1 MB Notification: Performance of SimCode: time 0.003598/0.1337, allocations: 2.439 MB / 0.5077 GB, free: 7.277 MB / 398.1 MB Notification: Performance of Templates: time 0.009862/0.1436, allocations: 4.832 MB / 0.5125 GB, free: 2.461 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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