Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002113/0.002113, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002902/0.002902, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 65.19 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1201, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003291/0.1235, allocations: 1.511 MB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.1245, allocations: 0.5314 MB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.1245, allocations: 0 / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1247, allocations: 27.86 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.1247, allocations: 3.938 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1249, allocations: 43.89 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.125, allocations: 63.78 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.1251, allocations: 15.98 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1253, allocations: 39.83 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.1254, allocations: 27.86 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1254, allocations: 4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.1255, allocations: 19.98 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.1255, allocations: 8 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1256, allocations: 27.86 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1257, allocations: 71.78 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1257, allocations: 3.938 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1257, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1258, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006505/0.1264, allocations: 383.6 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1264, allocations: 8.031 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1265, allocations: 8.844 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1266, allocations: 184.2 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1267, allocations: 4.375 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.1267, allocations: 4.375 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.127, allocations: 85.95 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.127, allocations: 0 / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.127, allocations: 4 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.127, allocations: 3.938 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1273, allocations: 79.92 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1278, allocations: 312.8 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1281, allocations: 78.56 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.1282, allocations: 40.95 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1283, allocations: 0 / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1283, allocations: 38.5 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1283, allocations: 0 / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005714/0.1289, allocations: 149.5 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1289, allocations: 59.34 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.129, allocations: 110.1 kB / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.129, allocations: 25.7 kB / 361.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1291, allocations: 99.97 kB / 361.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1291, allocations: 11.91 kB / 361.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.1292, allocations: 25.66 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1293, allocations: 322.8 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1295, allocations: 31.97 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1297, allocations: 39.95 kB / 362 MB, free: 9.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.13, allocations: 81.16 kB / 362.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.13, allocations: 0 / 362.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003504/0.1303, allocations: 117.6 kB / 362.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1304, allocations: 4 kB / 362.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1304, allocations: 0 / 362.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1304, allocations: 8 kB / 362.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1305, allocations: 19.97 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1305, allocations: 0 / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/0.1306, allocations: 15.92 kB / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1307, allocations: 0 / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 9.464e-05/0.1308, allocations: 117.8 kB / 362.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1308, allocations: 3.906 kB / 362.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.1312, allocations: 137.5 kB / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1312, allocations: 0 / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1312, allocations: 0 / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1312, allocations: 4 kB / 362.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1315, allocations: 189.5 kB / 362.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1315, allocations: 0 / 362.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1316, allocations: 23.98 kB / 362.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1316, allocations: 4 kB / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1316, allocations: 0 / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1316, allocations: 4 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1316, allocations: 0 / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1321, allocations: 223.3 kB / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.1321, allocations: 89.02 kB / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1322, allocations: 4 kB / 363 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1323, allocations: 11.98 kB / 363 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1323, allocations: 3.984 kB / 363 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1323, allocations: 4 kB / 363 MB, free: 8.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.1324, allocations: 95.2 kB / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1324, allocations: 0 / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1326, allocations: 15.94 kB / 363.1 MB, free: 8.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0001429/0.1328, allocations: 99.25 kB / 363.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1332, allocations: 99.89 kB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1332, allocations: 0 / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1334, allocations: 51.97 kB / 363.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1337, allocations: 4.172 kB / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1341, allocations: 158 kB / 363.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1344, allocations: 0.6885 MB / 364.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.1344, allocations: 7.984 kB / 364.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1344, allocations: 11.38 kB / 364.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1344, allocations: 4 kB / 364.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of Templates: time 0.003788/0.1382, allocations: 0.9159 MB / 365.2 MB, free: 6.012 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches