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.001628/0.001628, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002772/0.002772, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.683/1.683, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4586/0.4586, allocations: 43.5 MB / 313.5 MB, free: 8.309 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.001449/0.001449, allocations: 63.91 kB / 382 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1435, allocations: 57.78 MB / 439.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004243/0.1478, allocations: 3.105 MB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.1485, allocations: 414.5 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1486, allocations: 11.94 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1488, allocations: 47.61 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1491, allocations: 142.9 kB / 443.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1493, allocations: 87.88 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.1497, allocations: 0.513 MB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.15, allocations: 137.2 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1502, allocations: 183.4 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1504, allocations: 207 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1504, allocations: 28 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.1505, allocations: 28 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.1506, allocations: 83.62 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.1508, allocations: 234.9 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1512, allocations: 0.5023 MB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1512, allocations: 0 / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1512, allocations: 0 / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1513, allocations: 0 / 445.5 MB, free: 8.914 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.0009544/0.1522, allocations: 0.7135 MB / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1523, allocations: 8.031 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.1524, allocations: 52.38 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1527, allocations: 303.2 kB / 446.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1527, allocations: 29.38 kB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.1528, allocations: 64.27 kB / 446.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.1535, allocations: 462.6 kB / 447.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.1535, allocations: 8.094 kB / 447.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1535, allocations: 23.94 kB / 447.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1536, allocations: 16 kB / 447.2 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.154, allocations: 255.7 kB / 447.4 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1561, allocations: 1.703 MB / 449.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1566, allocations: 411.4 kB / 449.5 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.1568, allocations: 159.7 kB / 449.7 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1568, allocations: 4 kB / 449.7 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1568, allocations: 58.42 kB / 449.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.1569, allocations: 4 kB / 449.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007255/0.1576, allocations: 357.9 kB / 450.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.1577, allocations: 280.9 kB / 450.4 MB, free: 3.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.158, allocations: 246.6 kB / 450.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.158, allocations: 29.7 kB / 450.6 MB, free: 3.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1582, allocations: 243.6 kB / 450.9 MB, free: 3.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1584, allocations: 177.5 kB / 451 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.1586, allocations: 114.6 kB / 451.2 MB, free: 2.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1588, allocations: 350.8 kB / 451.5 MB, free: 2.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.159, allocations: 121.9 kB / 451.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.1594, allocations: 417.6 kB / 452 MB, free: 1.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.1601, allocations: 0.5732 MB / 452.6 MB, free: 1.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.1601, allocations: 4 kB / 452.6 MB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000858/0.161, allocations: 0.5711 MB / 453.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.161, allocations: 8 kB / 453.2 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.161, allocations: 12 kB / 453.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.161, allocations: 12 kB / 453.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.1616, allocations: 180.3 kB / 453.4 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.1616, allocations: 24.41 kB / 453.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1619, allocations: 67.38 kB / 453.5 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.1619, allocations: 32 kB / 453.5 MB, free: 208 kB / 382.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.0001971/0.1621, allocations: 193.5 kB / 453.7 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.265/0.4272, allocations: 35.98 kB / 453.7 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.4273, allocations: 37.28 kB / 453.8 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4273, allocations: 7.969 kB / 453.8 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.4274, allocations: 4.938 kB / 453.8 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4274, allocations: 4.312 kB / 453.8 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4286, allocations: 419 kB / 454.2 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4286, allocations: 4.625 kB / 454.2 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.4291, allocations: 119.7 kB / 454.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.4291, allocations: 5.875 kB / 454.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.4292, allocations: 17.05 kB / 454.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4292, allocations: 2.656 kB / 454.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4292, allocations: 4.719 kB / 454.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.4298, allocations: 1.076 MB / 455.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.4299, allocations: 116.3 kB / 455.5 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.43, allocations: 14.34 kB / 455.5 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.4304, allocations: 9.5 kB / 455.5 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.4304, allocations: 34.3 kB / 455.6 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4304, allocations: 14.22 kB / 455.6 MB, free: 46.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4305, allocations: 174.6 kB / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4306, allocations: 1.406 kB / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000818/0.4314, allocations: 133.3 kB / 455.9 MB, free: 46.89 MB / 382.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.0002027/0.4316, allocations: 120.9 kB / 456 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.4321, allocations: 349.7 kB / 456.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4321, allocations: 3.875 kB / 456.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.4323, allocations: 128.3 kB / 456.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4334, allocations: 90.17 kB / 456.6 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4358, allocations: 2.133 MB / 458.7 MB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4361, allocations: 0.8275 MB / 459.5 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.4363, allocations: 48.98 kB / 459.6 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.4363, allocations: 33.95 kB / 459.6 MB, free: 44.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4363, allocations: 0 / 459.6 MB, free: 44.55 MB / 382.1 MB Notification: Performance of Templates: time 0.007136/0.4435, allocations: 3.899 MB / 463.5 MB, free: 44.32 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches