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.00197/0.00197, allocations: 182 kB / 17.41 MB, free: 4.406 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.433/1.433, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008143/0.000814, allocations: 101.5 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3019/0.3019, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 16 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2696/0.3731, allocations: 89.2 MB / 0.567 GB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3733, allocations: 62.47 kB / 0.5671 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.3896, allocations: 6.098 MB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3896, allocations: 0 / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3897, allocations: 7.828 kB / 0.5731 GB, free: 6.809 MB / 394.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.0005853/0.3903, allocations: 490.9 kB / 0.5735 GB, free: 6.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3903, allocations: 8.031 kB / 0.5735 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.3911, allocations: 68.61 kB / 0.5736 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3912, allocations: 188.1 kB / 0.5738 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3913, allocations: 16.94 kB / 0.5738 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.3913, allocations: 28.38 kB / 0.5738 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.3917, allocations: 201.4 kB / 0.574 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3917, allocations: 192 / 0.574 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.3917, allocations: 15.94 kB / 0.574 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.3917, allocations: 7.469 kB / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.392, allocations: 158.1 kB / 0.5742 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.3929, allocations: 0.6005 MB / 0.5748 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.3934, allocations: 218.4 kB / 0.575 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3935, allocations: 73.3 kB / 0.5751 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3936, allocations: 4.234 kB / 0.5751 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3936, allocations: 34.73 kB / 0.5751 GB, free: 4.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.3936, allocations: 0 / 0.5751 GB, free: 4.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.000483/0.3941, allocations: 226.1 kB / 0.5753 GB, free: 4.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3941, allocations: 59.41 kB / 0.5754 GB, free: 4.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.3942, allocations: 101.8 kB / 0.5755 GB, free: 4.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3942, allocations: 29.7 kB / 0.5755 GB, free: 4.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.3943, allocations: 132.5 kB / 0.5756 GB, free: 4.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.3944, allocations: 94.64 kB / 0.5757 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.3944, allocations: 4 kB / 0.5757 GB, free: 3.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3945, allocations: 318.8 kB / 0.576 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3946, allocations: 43.97 kB / 0.5761 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.3947, allocations: 55.95 kB / 0.5761 GB, free: 3.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.395, allocations: 114.2 kB / 0.5762 GB, free: 3.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.395, allocations: 0 / 0.5762 GB, free: 3.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002761/0.3952, allocations: 169.5 kB / 0.5764 GB, free: 3.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3953, allocations: 7.938 kB / 0.5764 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3953, allocations: 8 kB / 0.5764 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3953, allocations: 3.984 kB / 0.5764 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.3957, allocations: 95.95 kB / 0.5765 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3957, allocations: 3.938 kB / 0.5765 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.3958, allocations: 19.84 kB / 0.5765 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3958, allocations: 7.984 kB / 0.5765 GB, free: 3.059 MB / 394.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 9.604e-05/0.3959, allocations: 129.8 kB / 0.5766 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3959, allocations: 11.84 kB / 0.5767 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.396, allocations: 21.12 kB / 0.5767 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.396, allocations: 4 kB / 0.5767 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.396, allocations: 3.938 kB / 0.5767 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.396, allocations: 0 / 0.5767 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3963, allocations: 269.4 kB / 0.5769 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3963, allocations: 0 / 0.5769 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.3966, allocations: 111.9 kB / 0.577 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3966, allocations: 4.688 kB / 0.577 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3967, allocations: 7.984 kB / 0.5771 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3967, allocations: 4 kB / 0.5771 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3967, allocations: 3.984 kB / 0.5771 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.397, allocations: 279.5 kB / 0.5773 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3971, allocations: 92.89 kB / 0.5774 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3971, allocations: 4 kB / 0.5774 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.3972, allocations: 4 kB / 0.5774 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.3972, allocations: 27.89 kB / 0.5775 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3972, allocations: 4.25 kB / 0.5775 GB, free: 2.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.3973, allocations: 87.28 kB / 0.5775 GB, free: 1.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3973, allocations: 4 kB / 0.5775 GB, free: 1.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.3976, allocations: 47.84 kB / 0.5776 GB, free: 1.871 MB / 394.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 () * 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 (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 9.604e-05/0.3977, allocations: 99.17 kB / 0.5777 GB, free: 1.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3979, allocations: 136.1 kB / 0.5778 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3979, allocations: 4 kB / 0.5778 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3981, allocations: 79.89 kB / 0.5779 GB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3983, allocations: 12 kB / 0.5779 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.3991, allocations: 0.6264 MB / 0.5785 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3993, allocations: 0.7283 MB / 0.5792 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3994, allocations: 19.42 kB / 0.5792 GB, free: 112 kB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3994, allocations: 3.938 kB / 0.5793 GB, free: 108 kB / 394.7 MB Notification: Performance of Templates: time 0.003118/0.4025, allocations: 1.685 MB / 0.5809 GB, free: 14.42 MB / 410.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