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.001169/0.001169, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001253/0.001253, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.657/1.657, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2278/0.2278, allocations: 43.52 MB / 314.1 MB, free: 456 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.001429/0.001429, allocations: 67.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004748/0.1357, allocations: 3.072 MB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008151/0.1366, allocations: 410.5 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1367, allocations: 8 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1369, allocations: 67.3 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1372, allocations: 166.5 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1375, allocations: 99.88 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.1381, allocations: 0.5442 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1383, allocations: 164.8 kB / 0.4923 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1386, allocations: 207.3 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1389, allocations: 219 kB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.1389, allocations: 40 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.139, allocations: 40 kB / 0.4928 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.1391, allocations: 95.62 kB / 0.4929 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1393, allocations: 254.9 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.1398, allocations: 0.5216 MB / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1399, allocations: 0 / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1399, allocations: 0 / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1399, allocations: 0 / 0.4936 GB, free: 5.891 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.0009984/0.1409, allocations: 0.7247 MB / 0.4943 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1409, allocations: 11.89 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.141, allocations: 52.38 kB / 0.4944 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1414, allocations: 291.4 kB / 0.4947 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1414, allocations: 33.38 kB / 0.4947 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.1415, allocations: 56.28 kB / 0.4947 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.1424, allocations: 466.6 kB / 0.4952 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.1425, allocations: 12.03 kB / 0.4952 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.1425, allocations: 23.94 kB / 0.4952 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1426, allocations: 12 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.1431, allocations: 259.7 kB / 0.4955 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1459, allocations: 1.687 MB / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.1466, allocations: 415.9 kB / 0.4975 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.1469, allocations: 163.8 kB / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.147, allocations: 7.938 kB / 0.4977 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.147, allocations: 54.44 kB / 0.4977 GB, free: 1.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.147, allocations: 0 / 0.4977 GB, free: 1.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009806/0.148, allocations: 352.9 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.1482, allocations: 269.5 kB / 0.4983 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1485, allocations: 258.7 kB / 0.4986 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1485, allocations: 29.7 kB / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1487, allocations: 239.7 kB / 0.4988 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1489, allocations: 178.2 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1491, allocations: 114.6 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1493, allocations: 350.7 kB / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.1496, allocations: 122 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.1501, allocations: 421.6 kB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.151, allocations: 0.5693 MB / 0.5005 GB, free: 14.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.151, allocations: 4 kB / 0.5005 GB, free: 14.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001089/0.1521, allocations: 0.5633 MB / 0.5011 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1521, allocations: 12 kB / 0.5011 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1521, allocations: 11.94 kB / 0.5011 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.1522, allocations: 16 kB / 0.5011 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.153, allocations: 179.7 kB / 0.5013 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/0.153, allocations: 24.45 kB / 0.5013 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.1534, allocations: 68 kB / 0.5014 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.1534, allocations: 28 kB / 0.5014 GB, free: 13.18 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.0002635/0.1537, allocations: 193.5 kB / 0.5016 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.154, allocations: 35.62 kB / 0.5016 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.1541, allocations: 41.7 kB / 0.5017 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1541, allocations: 7.938 kB / 0.5017 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.1541, allocations: 8 kB / 0.5017 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1542, allocations: 7.984 kB / 0.5017 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1555, allocations: 413.1 kB / 0.5021 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1556, allocations: 8 kB / 0.5021 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.1564, allocations: 123.9 kB / 0.5022 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1564, allocations: 4 kB / 0.5022 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.1564, allocations: 12 kB / 0.5022 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.1565, allocations: 15.81 kB / 0.5022 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1565, allocations: 4 kB / 0.5022 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1576, allocations: 1.078 MB / 0.5033 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1577, allocations: 112.5 kB / 0.5034 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.1578, allocations: 19.98 kB / 0.5034 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.1584, allocations: 15.94 kB / 0.5034 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.1585, allocations: 23.97 kB / 0.5035 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.1585, allocations: 16 kB / 0.5035 GB, free: 10.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1587, allocations: 174 kB / 0.5036 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1587, allocations: 0 / 0.5036 GB, free: 10.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001243/0.16, allocations: 135.7 kB / 0.5038 GB, free: 10.65 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.0002546/0.1602, allocations: 115.1 kB / 0.5039 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.161, allocations: 339.4 kB / 0.5042 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.161, allocations: 4.062 kB / 0.5042 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1613, allocations: 139.9 kB / 0.5043 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.163, allocations: 88.94 kB / 0.5044 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.1667, allocations: 1.957 MB / 0.5063 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.1672, allocations: 0.8314 MB / 0.5071 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1673, allocations: 48.16 kB / 0.5072 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.1674, allocations: 31.44 kB / 0.5072 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1674, allocations: 0 / 0.5072 GB, free: 7.023 MB / 398.1 MB Notification: Performance of Templates: time 0.009773/0.1772, allocations: 4.18 MB / 0.5113 GB, free: 2.859 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