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.001427/0.001428, allocations: 103.7 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.001651/0.001651, allocations: 212.6 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.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.13 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.38 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 62.46 MB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003602/0.1285, allocations: 2.116 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1309, allocations: 1.367 MB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1311, allocations: 4 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.542e-05/0.1312, allocations: 19.73 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1314, allocations: 35.64 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.132, allocations: 199.3 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1322, allocations: 184.1 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.1325, allocations: 99.58 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1327, allocations: 79.59 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1328, allocations: 91.55 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1328, allocations: 16 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.1332, allocations: 159.9 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.1332, allocations: 43.84 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.1333, allocations: 103.3 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.1337, allocations: 307.3 kB / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1337, allocations: 0 / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1338, allocations: 0 / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1338, allocations: 0 / 484.9 MB, free: 436 kB / 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.000663/0.1344, allocations: 0.5111 MB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1345, allocations: 8.031 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.1355, allocations: 88.53 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1357, allocations: 208 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1357, allocations: 20.94 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1358, allocations: 24.38 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1361, allocations: 209.2 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1361, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.1361, allocations: 12 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1362, allocations: 8 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.1364, allocations: 142.2 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.1372, allocations: 0.5966 MB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.1378, allocations: 231.3 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1379, allocations: 73.3 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1379, allocations: 4.172 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.138, allocations: 38.8 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.138, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004576/0.1384, allocations: 215.8 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1385, allocations: 51.41 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1386, allocations: 109.8 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1386, allocations: 29.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.1387, allocations: 136.5 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.1388, allocations: 90.67 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.1389, allocations: 37.72 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.139, allocations: 318.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1391, allocations: 43.97 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.1392, allocations: 55.95 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1394, allocations: 110.2 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1394, allocations: 4 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002646/0.1397, allocations: 169.4 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1397, allocations: 6.344 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1397, allocations: 256 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1397, allocations: 4 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1401, allocations: 111.9 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1401, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.1402, allocations: 15.84 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1402, allocations: 4 kB / 488.5 MB, free: 12.57 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.0001025/0.1403, allocations: 137.7 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1404, allocations: 15.78 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.1404, allocations: 21.53 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1404, allocations: 8 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1404, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1404, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.1407, allocations: 269.4 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1407, allocations: 3.938 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.1411, allocations: 103.9 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1411, allocations: 0 / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1411, allocations: 12 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1411, allocations: 0 / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1411, allocations: 0 / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1414, allocations: 271.3 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1415, allocations: 92.89 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1415, allocations: 8 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1416, allocations: 4 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1417, allocations: 19.97 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1417, allocations: 12 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.1417, allocations: 83.22 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.142, allocations: 51.78 kB / 489.6 MB, free: 11.39 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.0001021/0.1421, allocations: 95.25 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1424, allocations: 144.4 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1424, allocations: 4 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1426, allocations: 84.34 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1428, allocations: 15.88 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.1435, allocations: 479.8 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1439, allocations: 0.7358 MB / 491.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.144, allocations: 13.42 kB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.144, allocations: 15.44 kB / 491.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.144, allocations: 8 kB / 491.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of Templates: time 0.003232/0.1473, allocations: 0.9203 MB / 492.1 MB, free: 8.828 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