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.001259/0.001259, allocations: 111.2 kB / 16.41 MB, free: 6.492 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.001382/0.001382, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.596/1.596, 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.2306/0.2306, allocations: 43.53 MB / 314.1 MB, free: 460 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.001567/0.001567, allocations: 67.89 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004253/0.1354, allocations: 3.072 MB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1364, allocations: 414.5 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.1367, allocations: 11.94 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1369, allocations: 63.31 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.1373, allocations: 170.5 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1375, allocations: 99.86 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1381, allocations: 0.5403 MB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.1383, allocations: 168.8 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1386, allocations: 199.4 kB / 0.4925 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.1389, allocations: 215 kB / 0.4927 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.1389, allocations: 40 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.139, allocations: 40 kB / 0.4928 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.1391, allocations: 103.6 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1393, allocations: 246.9 kB / 0.4931 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.1398, allocations: 0.5216 MB / 0.4936 GB, free: 5.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1398, allocations: 8 kB / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1398, allocations: 0 / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.1399, 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.0009753/0.1409, allocations: 0.7212 MB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1409, allocations: 15.89 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.141, allocations: 48.38 kB / 0.4944 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1413, allocations: 291.4 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.1413, allocations: 37.38 kB / 0.4947 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.1414, allocations: 56.28 kB / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.1421, allocations: 454.7 kB / 0.4952 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1422, allocations: 16.08 kB / 0.4952 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.1422, allocations: 23.94 kB / 0.4952 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.1422, allocations: 16 kB / 0.4952 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1427, allocations: 251.2 kB / 0.4955 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1448, allocations: 1.687 MB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.1452, allocations: 423.8 kB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1454, allocations: 167.6 kB / 0.4977 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1455, allocations: 8 kB / 0.4977 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1455, allocations: 46.44 kB / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.1455, allocations: 4 kB / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006564/0.1462, allocations: 353.5 kB / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.1463, allocations: 277 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1465, allocations: 250.7 kB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1465, allocations: 33.7 kB / 0.4986 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1466, allocations: 243.6 kB / 0.4988 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1468, allocations: 177.5 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1469, allocations: 118.6 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.147, allocations: 350.8 kB / 0.4995 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1472, allocations: 118 kB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1476, allocations: 417.6 kB / 0.5 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.1482, allocations: 0.5654 MB / 0.5005 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.1482, allocations: 4 kB / 0.5005 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008218/0.149, allocations: 0.5671 MB / 0.5011 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1491, allocations: 8 kB / 0.5011 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1491, allocations: 12 kB / 0.5011 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.1491, allocations: 12 kB / 0.5011 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.1497, allocations: 184.3 kB / 0.5013 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.1497, allocations: 27.92 kB / 0.5013 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.15, allocations: 64 kB / 0.5014 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.15, allocations: 32 kB / 0.5014 GB, free: 13.21 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.0001689/0.1502, allocations: 185.5 kB / 0.5016 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.1504, allocations: 43.53 kB / 0.5016 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.1505, allocations: 37.7 kB / 0.5016 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1505, allocations: 11.94 kB / 0.5017 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.1505, allocations: 4 kB / 0.5017 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1505, allocations: 7.984 kB / 0.5017 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.1515, allocations: 421.2 kB / 0.5021 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1515, allocations: 3.938 kB / 0.5021 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.1521, allocations: 123.9 kB / 0.5022 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1521, allocations: 4 kB / 0.5022 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.1521, allocations: 12 kB / 0.5022 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.1521, allocations: 7.938 kB / 0.5022 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.1522, allocations: 4 kB / 0.5022 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.1529, allocations: 1.074 MB / 0.5033 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.153, allocations: 124.5 kB / 0.5034 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.153, allocations: 8 kB / 0.5034 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.1534, allocations: 19.94 kB / 0.5034 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.1535, allocations: 27.91 kB / 0.5034 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1535, allocations: 19.92 kB / 0.5035 GB, free: 10.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1537, allocations: 170 kB / 0.5036 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1537, allocations: 0 / 0.5036 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007827/0.1544, allocations: 135.7 kB / 0.5038 GB, free: 10.69 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.0002023/0.1547, allocations: 115.2 kB / 0.5039 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.1552, allocations: 347 kB / 0.5042 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1552, allocations: 0 / 0.5042 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1554, allocations: 136.4 kB / 0.5043 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.1566, allocations: 107.2 kB / 0.5044 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.159, allocations: 1.961 MB / 0.5063 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1595, allocations: 0.8275 MB / 0.5072 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1596, allocations: 48.16 kB / 0.5072 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.1597, allocations: 35.44 kB / 0.5072 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1597, allocations: 0 / 0.5072 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.007865/0.1676, allocations: 4.169 MB / 0.5113 GB, free: 2.887 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