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.001108/0.001109, allocations: 101.6 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 73.47 kB / 417 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 62.44 MB / 479.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003791/0.1305, allocations: 2.169 MB / 481.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1329, allocations: 1.359 MB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1331, allocations: 4 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.1332, allocations: 19.84 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1334, allocations: 15.86 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.134, allocations: 179.5 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1343, allocations: 176.1 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.1345, allocations: 107.6 kB / 483.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.1348, allocations: 83.58 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1349, allocations: 87.55 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.135, allocations: 16 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.1354, allocations: 155.9 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.1354, allocations: 51.77 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.1355, allocations: 87.48 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.136, allocations: 315.2 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.136, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.136, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.136, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.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.0006935/0.1367, allocations: 0.5111 MB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1368, allocations: 8.031 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.1378, allocations: 84.59 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1381, allocations: 212.1 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1381, allocations: 20.94 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1381, allocations: 24.38 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.1385, allocations: 205.2 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1385, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1386, allocations: 8 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1386, allocations: 8 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1389, allocations: 150.1 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.1399, allocations: 0.6005 MB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1405, allocations: 225.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1406, allocations: 69.3 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1407, allocations: 12.17 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1407, allocations: 42.73 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.894e-06/0.1407, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004572/0.1412, allocations: 213.4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1412, allocations: 55.41 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.1413, allocations: 105.8 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1413, allocations: 29.7 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.1414, allocations: 136.5 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.1415, allocations: 86.75 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.1416, allocations: 41.7 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1417, allocations: 318.8 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.1418, allocations: 39.98 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.1419, allocations: 52.89 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.1421, allocations: 114.2 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1421, allocations: 4 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002848/0.1424, allocations: 173.3 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1425, allocations: 7.984 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1425, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1425, allocations: 4 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.1429, allocations: 95.95 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1429, allocations: 4 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.143, allocations: 20.08 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.143, allocations: 7.938 kB / 487.9 MB, free: 12.99 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.0001162/0.1431, allocations: 125.8 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1432, allocations: 11.84 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1432, allocations: 29.47 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1432, allocations: 4 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1432, allocations: 0 / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1433, allocations: 3.984 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1436, allocations: 273.4 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1436, allocations: 3.938 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.144, allocations: 103.9 kB / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.144, allocations: 0 / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.144, allocations: 4 kB / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.144, allocations: 4 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.144, allocations: 7.984 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.1443, allocations: 275.2 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1444, allocations: 92.89 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1445, allocations: 8 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.1446, allocations: 7.984 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1446, allocations: 11.98 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1446, allocations: 4 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.1447, allocations: 91.28 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1447, allocations: 3.938 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.145, allocations: 51.78 kB / 489 MB, free: 11.8 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.0001218/0.1451, allocations: 103.2 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1454, allocations: 140.5 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1455, allocations: 0 / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1456, allocations: 79.83 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1459, allocations: 23.92 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.1467, allocations: 0.5467 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.147, allocations: 0.7319 MB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1471, allocations: 17.42 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.1472, allocations: 15.44 kB / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1472, allocations: 0 / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of Templates: time 0.0034/0.1506, allocations: 0.9033 MB / 491.6 MB, free: 9.184 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