Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002255/0.002255, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2691/0.2691, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.991e-05, allocations: 0 / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.5977, allocations: 89.08 MB / 0.5598 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.598, allocations: 58.86 kB / 0.5598 GB, free: 14.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.624, allocations: 6.081 MB / 0.5658 GB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.624, allocations: 0 / 0.5658 GB, free: 9.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.624, allocations: 4 kB / 0.5658 GB, free: 9.316 MB / 378.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.0007742/0.6248, allocations: 480.2 kB / 0.5662 GB, free: 8.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6249, allocations: 12.03 kB / 0.5662 GB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.626, allocations: 59.69 kB / 0.5663 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.6262, allocations: 194.7 kB / 0.5665 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.6263, allocations: 23.5 kB / 0.5665 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.6263, allocations: 23.25 kB / 0.5665 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.6268, allocations: 185.7 kB / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6268, allocations: 0 / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.6269, allocations: 11.48 kB / 0.5667 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6269, allocations: 8 kB / 0.5667 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.6273, allocations: 130.7 kB / 0.5669 GB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.6286, allocations: 0.6007 MB / 0.5674 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.6294, allocations: 218.9 kB / 0.5676 GB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.6296, allocations: 62.44 kB / 0.5677 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.6297, allocations: 4.234 kB / 0.5677 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.6297, allocations: 42.73 kB / 0.5678 GB, free: 7.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.434e-06/0.6297, allocations: 0 / 0.5678 GB, free: 7.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004593/0.6302, allocations: 157.2 kB / 0.5679 GB, free: 7.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6302, allocations: 55.41 kB / 0.568 GB, free: 7.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.6303, allocations: 92.94 kB / 0.568 GB, free: 7.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.6304, allocations: 25.7 kB / 0.5681 GB, free: 7.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.6305, allocations: 202.4 kB / 0.5683 GB, free: 6.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.6306, allocations: 88.53 kB / 0.5683 GB, free: 6.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.6306, allocations: 7.312 kB / 0.5684 GB, free: 6.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6308, allocations: 325.6 kB / 0.5687 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6309, allocations: 37.5 kB / 0.5687 GB, free: 6.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.631, allocations: 34.19 kB / 0.5687 GB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.6312, allocations: 46.48 kB / 0.5688 GB, free: 6.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6312, allocations: 3.281 kB / 0.5688 GB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003594/0.6316, allocations: 161.5 kB / 0.5689 GB, free: 6.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.6316, allocations: 4 kB / 0.5689 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6316, allocations: 0 / 0.5689 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6316, allocations: 8 kB / 0.5689 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.6324, allocations: 99.88 kB / 0.569 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/0.6324, allocations: 0 / 0.569 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.6326, allocations: 19.34 kB / 0.5691 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.6326, allocations: 7.375 kB / 0.5691 GB, free: 6.137 MB / 378.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 () * 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.000117/0.6327, allocations: 120 kB / 0.5692 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.6328, allocations: 15.77 kB / 0.5692 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/0.6329, allocations: 25.75 kB / 0.5692 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6329, allocations: 0 / 0.5692 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.6329, allocations: 4.25 kB / 0.5692 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.6329, allocations: 3.984 kB / 0.5692 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.6334, allocations: 268.7 kB / 0.5695 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6334, allocations: 0 / 0.5695 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.6341, allocations: 102.9 kB / 0.5696 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.6341, allocations: 7.953 kB / 0.5696 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.6341, allocations: 7.375 kB / 0.5696 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.6341, allocations: 0 / 0.5696 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6342, allocations: 0 / 0.5696 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.6346, allocations: 252.8 kB / 0.5698 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.6347, allocations: 96.94 kB / 0.5699 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.6347, allocations: 7.266 kB / 0.5699 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6349, allocations: 7.5 kB / 0.5699 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.6349, allocations: 15.23 kB / 0.57 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.635, allocations: 4 kB / 0.57 GB, free: 5.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.635, allocations: 86.77 kB / 0.57 GB, free: 5.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.635, allocations: 0 / 0.57 GB, free: 5.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.6354, allocations: 54.23 kB / 0.5701 GB, free: 5.105 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.6356, allocations: 102.9 kB / 0.5702 GB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.6359, allocations: 120.3 kB / 0.5703 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6359, allocations: 0 / 0.5703 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.6361, allocations: 73.48 kB / 0.5704 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.6363, allocations: 6.719 kB / 0.5704 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.6371, allocations: 267.3 kB / 0.5706 GB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.6374, allocations: 0.7402 MB / 0.5714 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.6375, allocations: 19.44 kB / 0.5714 GB, free: 3.797 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6375, allocations: 0 / 0.5714 GB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.004863/0.6424, allocations: 1.687 MB / 0.573 GB, free: 2.121 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches