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.001184/0.001184, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001195, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 56.03 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002978/0.1369, allocations: 1.511 MB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.1379, allocations: 0.5352 MB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.1379, allocations: 0 / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1381, allocations: 19.86 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.1381, allocations: 11.88 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1383, allocations: 43.89 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.1384, allocations: 51.84 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1386, allocations: 27.97 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1388, allocations: 31.86 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.1388, allocations: 27.89 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1389, allocations: 11.94 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.1389, allocations: 16 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.139, allocations: 15.98 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.139, allocations: 23.88 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1392, allocations: 67.72 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1392, allocations: 0 / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1392, allocations: 0 / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1392, allocations: 0 / 361.3 MB, free: 10.97 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.0007099/0.1399, allocations: 391.3 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.14, allocations: 8.031 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.14, allocations: 8.844 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1402, allocations: 180.2 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1402, allocations: 4.375 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.1402, allocations: 384 / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1405, allocations: 93.83 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1405, allocations: 0 / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1405, allocations: 11.94 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1405, allocations: 0 / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.1408, allocations: 83.91 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1413, allocations: 304.7 kB / 362.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1416, allocations: 74.53 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1417, allocations: 44.94 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1418, allocations: 0 / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1418, allocations: 38.56 kB / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1418, allocations: 0 / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005649/0.1424, allocations: 153.7 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1424, allocations: 55.41 kB / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.1425, allocations: 105.8 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1426, allocations: 29.7 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.1426, allocations: 95.98 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1427, allocations: 15.8 kB / 362.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1427, allocations: 13.72 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1428, allocations: 326.8 kB / 363.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.143, allocations: 44.02 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1431, allocations: 31.97 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.1434, allocations: 88.72 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1434, allocations: 0 / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003133/0.1437, allocations: 113.6 kB / 363.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1438, allocations: 4 kB / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1438, allocations: 0 / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1438, allocations: 0 / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.144, allocations: 23.98 kB / 363.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.144, allocations: 3.984 kB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.1441, allocations: 15.92 kB / 363.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1441, allocations: 4.359 kB / 363.6 MB, free: 8.43 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 8.512e-05/0.1442, allocations: 125.7 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1442, allocations: 3.906 kB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.1446, allocations: 129.6 kB / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1446, allocations: 3.938 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1446, allocations: 3.984 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1446, allocations: 0 / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1448, allocations: 193.5 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1448, allocations: 0 / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1449, allocations: 19.98 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.145, allocations: 3.984 kB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.145, allocations: 8 kB / 364.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.145, allocations: 4.188 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.145, allocations: 3.938 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.1454, allocations: 215.3 kB / 364.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1454, allocations: 89 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1455, allocations: 4 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1456, allocations: 15.98 kB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1456, allocations: 3.984 kB / 364.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1456, allocations: 4 kB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.1457, allocations: 83.28 kB / 364.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1457, allocations: 0 / 364.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1459, allocations: 15.94 kB / 364.5 MB, free: 7.414 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.0001792/0.1461, allocations: 107.2 kB / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1465, allocations: 83.86 kB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1465, allocations: 0 / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1466, allocations: 55.94 kB / 364.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.147, allocations: 8 kB / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.1473, allocations: 157.9 kB / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1476, allocations: 0.6924 MB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.93e-05/0.1477, allocations: 0 / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.1477, allocations: 15.44 kB / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1477, allocations: 0 / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of Templates: time 0.003431/0.1511, allocations: 0.911 MB / 366.5 MB, free: 5.34 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches