Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002721/0.002721, allocations: 364.2 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.841/3.841, allocations: 388.9 MB / 405.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004552/0.004552, allocations: 220.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7302/0.7302, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000627/0.0006273, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09984, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002373/0.1023, allocations: 1.713 MB / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1046, allocations: 1.206 MB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1048, allocations: 4 kB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.1048, allocations: 11.86 kB / 0.683 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.105, allocations: 23.78 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.1056, allocations: 147.5 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1058, allocations: 164.1 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1061, allocations: 85.44 kB / 0.6834 GB, free: 38.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1062, allocations: 55.72 kB / 0.6834 GB, free: 38.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1063, allocations: 67.62 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1063, allocations: 7.938 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.1067, allocations: 123.9 kB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.1068, allocations: 31.78 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.1068, allocations: 53.58 kB / 0.6837 GB, free: 37.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1072, allocations: 211.7 kB / 0.6839 GB, free: 37.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1072, allocations: 0 / 0.6839 GB, free: 37.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1072, allocations: 4 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1072, allocations: 0 / 0.6839 GB, free: 37.75 MB / 346.7 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.0005798/0.1078, allocations: 499 kB / 0.6844 GB, free: 37.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1079, allocations: 8.031 kB / 0.6844 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.1089, allocations: 63.67 kB / 0.6844 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.109, allocations: 182.9 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1091, allocations: 24.56 kB / 0.6846 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.1091, allocations: 24 kB / 0.6846 GB, free: 36.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.1096, allocations: 204.8 kB / 0.6848 GB, free: 36.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1096, allocations: 0 / 0.6848 GB, free: 36.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1097, allocations: 8 kB / 0.6849 GB, free: 36.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1097, allocations: 11.95 kB / 0.6849 GB, free: 36.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.1101, allocations: 150.1 kB / 0.685 GB, free: 36.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1111, allocations: 0.5928 MB / 0.6856 GB, free: 35.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.1119, allocations: 234.2 kB / 0.6858 GB, free: 35.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1121, allocations: 69.3 kB / 0.6859 GB, free: 35.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1122, allocations: 12.11 kB / 0.6859 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1122, allocations: 34.8 kB / 0.6859 GB, free: 35.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.1122, allocations: 0 / 0.6859 GB, free: 35.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006035/0.1128, allocations: 217 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.1129, allocations: 55.41 kB / 0.6862 GB, free: 35.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.1129, allocations: 101.9 kB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.113, allocations: 29.7 kB / 0.6863 GB, free: 35.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.113, allocations: 136.5 kB / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.1131, allocations: 90.73 kB / 0.6865 GB, free: 34.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1131, allocations: 7.938 kB / 0.6865 GB, free: 34.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.1132, allocations: 326.8 kB / 0.6868 GB, free: 34.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1134, allocations: 47.95 kB / 0.6869 GB, free: 34.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1135, allocations: 47.92 kB / 0.6869 GB, free: 34.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1137, allocations: 53.39 kB / 0.687 GB, free: 34.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1137, allocations: 0 / 0.687 GB, free: 34.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004004/0.1141, allocations: 173.4 kB / 0.6871 GB, free: 34.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1141, allocations: 8 kB / 0.6872 GB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1142, allocations: 0 / 0.6872 GB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1142, allocations: 4 kB / 0.6872 GB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.1148, allocations: 99.88 kB / 0.6873 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1149, allocations: 0 / 0.6873 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.115, allocations: 19.84 kB / 0.6873 GB, free: 34.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.115, allocations: 4 kB / 0.6873 GB, free: 34.07 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.1151, allocations: 138.5 kB / 0.6874 GB, free: 33.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1152, allocations: 11.89 kB / 0.6874 GB, free: 33.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.1153, allocations: 25.11 kB / 0.6874 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1153, allocations: 0 / 0.6874 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1153, allocations: 0 / 0.6874 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.1153, allocations: 92.95 kB / 0.6875 GB, free: 33.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1154, allocations: 4 kB / 0.6875 GB, free: 33.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1155, allocations: 15.94 kB / 0.6876 GB, free: 33.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.1156, allocations: 15.98 kB / 0.6876 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001018/0.1166, allocations: 344.8 kB / 0.6879 GB, free: 33.4 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004061/0.1171, allocations: 359 kB / 0.6882 GB, free: 33.04 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001582/0.1172, allocations: 68.17 kB / 0.6883 GB, free: 32.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.1173, allocations: 91.45 kB / 0.6884 GB, free: 32.88 MB / 346.7 MB Notification: Performance of Backend: time 7.31e-07/0.1173, allocations: 4 kB / 0.6884 GB, free: 32.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.1182, allocations: 254.2 kB / 0.6886 GB, free: 32.62 MB / 346.7 MB Notification: Performance of SimCode: time 0.0008586/0.119, allocations: 1.007 MB / 0.6896 GB, free: 31.56 MB / 346.7 MB Notification: Performance of Templates: time 0.00732/0.1264, allocations: 2.371 MB / 0.6919 GB, free: 29.19 MB / 346.7 MB "" Variables in the reference:time,ydegC,ydegF,ydegRk,ydeg,yrpm,ykmh,yday,yhour,yminute,ylitre,ykWh,ybar,ygps Variables in the result:cosine.amplitude,cosine.freqHz,cosine.offset,cosine.phase,cosine.startTime,time,ybar,yday,ydeg,ydegC,ydegF,ydegRk,ygps,yhour,ykWh,ykmh,ylitre,yminute,yrpm