Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009317/0.0009318, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0002999, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002409/0.1227, allocations: 1.814 MB / 484.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.125, allocations: 1.367 MB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1252, allocations: 4 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.526e-05/0.1253, allocations: 15.8 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1254, allocations: 27.83 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.126, allocations: 159.5 kB / 486.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.1263, allocations: 172.1 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.1265, allocations: 87.61 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1267, allocations: 63.66 kB / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1268, allocations: 71.5 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1269, allocations: 8 kB / 486.9 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.1272, allocations: 143.9 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.1273, allocations: 31.84 kB / 487 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.1274, allocations: 105.1 kB / 487.1 MB, free: 88 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1279, allocations: 291.4 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1279, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1279, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1279, allocations: 4 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006067/0.1285, allocations: 489.8 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1286, allocations: 12.03 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.1295, allocations: 80.59 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1298, allocations: 204.1 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1298, allocations: 20.88 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1298, allocations: 32.31 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.1302, allocations: 213.2 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1302, allocations: 0 / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.1303, allocations: 8 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1303, allocations: 8 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1306, allocations: 146.2 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.1315, allocations: 0.6045 MB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.132, allocations: 237.2 kB / 489.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1322, allocations: 65.31 kB / 489.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1322, allocations: 12.16 kB / 489.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1322, allocations: 34.8 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/0.1323, allocations: 0 / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004933/0.1328, allocations: 225.4 kB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1328, allocations: 51.41 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.1329, allocations: 105.8 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1329, allocations: 29.7 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.133, allocations: 132.6 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.1331, allocations: 94.58 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.1331, allocations: 29.7 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1332, allocations: 322.8 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1333, allocations: 43.98 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.1334, allocations: 48.89 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1337, allocations: 122.2 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1337, allocations: 0 / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002936/0.134, allocations: 177.4 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.134, allocations: 7.984 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.134, allocations: 256 / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.134, allocations: 4 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1344, allocations: 107.9 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1344, allocations: 0 / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.1345, allocations: 15.83 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1345, allocations: 12 kB / 491 MB, free: 11.95 MB / 366.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 (27): * Single equations (assignments): 27 * 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.0001122/0.1346, allocations: 125.8 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1347, allocations: 15.84 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.1348, allocations: 25.53 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1348, allocations: 4 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1348, allocations: 3.938 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1348, allocations: 3.984 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1351, allocations: 261.4 kB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1351, allocations: 3.938 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.1354, allocations: 107.9 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1355, allocations: 4 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1355, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1355, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1355, allocations: 4 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1358, allocations: 267.4 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1359, allocations: 104.8 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1359, allocations: 0 / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.136, allocations: 11.98 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1361, allocations: 19.97 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1361, allocations: 4 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.553e-05/0.1361, allocations: 87.27 kB / 492.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 7.938 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1364, allocations: 43.78 kB / 492.1 MB, free: 10.78 MB / 366.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 (27): * Single equations (assignments): 27 * 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.0001099/0.1366, allocations: 99.25 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.1368, allocations: 136.3 kB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1369, allocations: 0 / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.137, allocations: 83.83 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1372, allocations: 23.86 kB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.138, allocations: 0.6112 MB / 493.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1383, allocations: 0.7361 MB / 493.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.1385, allocations: 21.41 kB / 493.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.1385, allocations: 19.38 kB / 493.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1385, allocations: 0 / 493.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of Templates: time 0.003278/0.1418, allocations: 0.8439 MB / 494.7 MB, free: 8.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches