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.00114/0.00114, allocations: 105.7 kB / 16.41 MB, free: 6.508 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.001082/0.001082, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.601/1.601, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2182/0.2182, allocations: 43.52 MB / 314.1 MB, free: 452 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.001787/0.001787, allocations: 67.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1436, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00497/0.1487, allocations: 3.068 MB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1499, allocations: 414.5 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.1504, allocations: 11.94 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1506, allocations: 67.3 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.1513, allocations: 166.5 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1517, allocations: 95.88 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.1524, allocations: 0.5442 MB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.1527, allocations: 156.8 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.153, allocations: 191.4 kB / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.1533, allocations: 223 kB / 0.4927 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1534, allocations: 40 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1535, allocations: 40 kB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1536, allocations: 103.6 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1539, allocations: 246.9 kB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.1546, allocations: 0.5174 MB / 0.4936 GB, free: 5.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.1546, allocations: 4 kB / 0.4936 GB, free: 5.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1546, allocations: 3.938 kB / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1546, allocations: 0 / 0.4936 GB, free: 5.918 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.001089/0.1557, allocations: 0.7247 MB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1558, allocations: 15.89 kB / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1559, allocations: 52.61 kB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1562, allocations: 291.5 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1562, allocations: 37.38 kB / 0.4947 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.1563, allocations: 56.33 kB / 0.4947 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.1571, allocations: 466.6 kB / 0.4952 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1571, allocations: 12.12 kB / 0.4952 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.1572, allocations: 27.94 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1572, allocations: 12 kB / 0.4952 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.1576, allocations: 258.9 kB / 0.4955 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.1598, allocations: 1.688 MB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.1603, allocations: 427.8 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1605, allocations: 159.7 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1605, allocations: 4 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.1606, allocations: 50.5 kB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.1606, allocations: 7.938 kB / 0.4977 GB, free: 1.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006934/0.1613, allocations: 349.2 kB / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.1615, allocations: 277.4 kB / 0.4983 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1618, allocations: 258.9 kB / 0.4986 GB, free: 408 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1618, allocations: 29.7 kB / 0.4986 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.162, allocations: 244.3 kB / 0.4988 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1621, allocations: 190.6 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1623, allocations: 114.6 kB / 0.4991 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1624, allocations: 346.8 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1626, allocations: 121.9 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.163, allocations: 421.6 kB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.1636, allocations: 0.5737 MB / 0.5005 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1637, allocations: 4 kB / 0.5005 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007678/0.1644, allocations: 0.5715 MB / 0.5011 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1645, allocations: 8 kB / 0.5011 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.1645, allocations: 12 kB / 0.5011 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1645, allocations: 12 kB / 0.5011 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.165, allocations: 179.5 kB / 0.5013 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.1651, allocations: 23.92 kB / 0.5013 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1654, allocations: 63.91 kB / 0.5014 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.1654, allocations: 36 kB / 0.5014 GB, free: 13.17 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.0001928/0.1656, allocations: 185.5 kB / 0.5016 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.1658, allocations: 39.77 kB / 0.5016 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.1659, allocations: 41.7 kB / 0.5017 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.1659, allocations: 15.88 kB / 0.5017 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1659, allocations: 3.984 kB / 0.5017 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1659, allocations: 4 kB / 0.5017 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.1668, allocations: 421.2 kB / 0.5021 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1669, allocations: 0 / 0.5021 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.1674, allocations: 127.9 kB / 0.5022 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1674, allocations: 4 kB / 0.5022 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1674, allocations: 15.94 kB / 0.5022 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1675, allocations: 7.938 kB / 0.5023 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1675, allocations: 4 kB / 0.5023 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.1684, allocations: 1.083 MB / 0.5033 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.1685, allocations: 116.8 kB / 0.5034 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.1686, allocations: 19.88 kB / 0.5034 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.169, allocations: 8 kB / 0.5035 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.169, allocations: 35.91 kB / 0.5035 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.169, allocations: 15.98 kB / 0.5035 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1692, allocations: 170 kB / 0.5037 GB, free: 10.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1692, allocations: 0 / 0.5037 GB, free: 10.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007571/0.17, allocations: 135.8 kB / 0.5038 GB, free: 10.64 MB / 398.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.0001915/0.1702, allocations: 119.1 kB / 0.5039 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.1707, allocations: 347.3 kB / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1707, allocations: 0 / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1709, allocations: 140 kB / 0.5044 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.1721, allocations: 92.36 kB / 0.5045 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.1746, allocations: 1.975 MB / 0.5064 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.175, allocations: 0.8275 MB / 0.5072 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.1751, allocations: 52.16 kB / 0.5072 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1752, allocations: 31.44 kB / 0.5073 GB, free: 6.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1752, allocations: 0 / 0.5073 GB, free: 6.98 MB / 398.1 MB Notification: Performance of Templates: time 0.007864/0.1831, allocations: 4.172 MB / 0.5114 GB, free: 2.824 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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