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.002218/0.002218, allocations: 186.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001132/0.001132, allocations: 93.48 kB / 270.9 MB, free: 8.387 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.509/0.509, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004804, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5955, allocations: 89.16 MB / 0.5658 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5958, allocations: 63.97 kB / 0.5659 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02627/0.6221, allocations: 6.096 MB / 0.5718 GB, free: 7.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6221, allocations: 4 kB / 0.5718 GB, free: 7.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.6221, allocations: 4 kB / 0.5718 GB, free: 7.348 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.0007909/0.6229, allocations: 496.3 kB / 0.5723 GB, free: 6.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.623, allocations: 8.031 kB / 0.5723 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.6242, allocations: 75.05 kB / 0.5724 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.6244, allocations: 178.9 kB / 0.5725 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.6244, allocations: 21.33 kB / 0.5726 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.6245, allocations: 28 kB / 0.5726 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.6251, allocations: 200.8 kB / 0.5728 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6251, allocations: 0 / 0.5728 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.6251, allocations: 8 kB / 0.5728 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.6252, allocations: 8 kB / 0.5728 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.6256, allocations: 151.2 kB / 0.5729 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.627, allocations: 0.5967 MB / 0.5735 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.6279, allocations: 226.3 kB / 0.5737 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.628, allocations: 4.234 kB / 0.5737 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.628, allocations: 38.8 kB / 0.5738 GB, free: 5.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.797e-06/0.6281, allocations: 0 / 0.5738 GB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008069/0.6289, allocations: 226.5 kB / 0.574 GB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.629, allocations: 55.41 kB / 0.574 GB, free: 4.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.6291, allocations: 93 kB / 0.5741 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.6291, allocations: 29.7 kB / 0.5742 GB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6293, allocations: 203.8 kB / 0.5744 GB, free: 4.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.6294, allocations: 90.66 kB / 0.5744 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.6294, allocations: 4 kB / 0.5744 GB, free: 4.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6296, allocations: 322.8 kB / 0.5748 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.6298, allocations: 43.97 kB / 0.5748 GB, free: 4.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6299, allocations: 39.98 kB / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.6302, allocations: 61.38 kB / 0.5749 GB, free: 4.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6302, allocations: 0 / 0.5749 GB, free: 4.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005219/0.6307, allocations: 177.4 kB / 0.5751 GB, free: 3.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6308, allocations: 7.188 kB / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6308, allocations: 0 / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.6308, allocations: 4 kB / 0.5751 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.6316, allocations: 103.9 kB / 0.5752 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6316, allocations: 0 / 0.5752 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.6317, allocations: 15.84 kB / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.6318, allocations: 8 kB / 0.5752 GB, free: 3.695 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 0.0001806/0.632, allocations: 125.8 kB / 0.5753 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.632, allocations: 23.77 kB / 0.5753 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.6321, allocations: 25.12 kB / 0.5754 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.6321, allocations: 4 kB / 0.5754 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6322, allocations: 3.984 kB / 0.5754 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6322, allocations: 0 / 0.5754 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.6326, allocations: 269.6 kB / 0.5756 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6326, allocations: 4 kB / 0.5756 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.6334, allocations: 95.89 kB / 0.5757 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.6334, allocations: 11.95 kB / 0.5757 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6335, allocations: 7.938 kB / 0.5757 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.6335, allocations: 0 / 0.5757 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6335, allocations: 0 / 0.5757 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.6341, allocations: 271.3 kB / 0.576 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.6342, allocations: 88.95 kB / 0.5761 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6343, allocations: 19.94 kB / 0.5761 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.6344, allocations: 8 kB / 0.5761 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.6345, allocations: 7.984 kB / 0.5761 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6345, allocations: 12 kB / 0.5761 GB, free: 2.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.6346, allocations: 83.27 kB / 0.5762 GB, free: 2.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6346, allocations: 0 / 0.5762 GB, free: 2.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.635, allocations: 51.75 kB / 0.5763 GB, free: 2.516 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 0.0001428/0.6352, allocations: 99.19 kB / 0.5764 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.6356, allocations: 136.3 kB / 0.5765 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6357, allocations: 0 / 0.5765 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.6359, allocations: 84.36 kB / 0.5766 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.6361, allocations: 4.75 kB / 0.5766 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.6373, allocations: 0.6225 MB / 0.5772 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6377, allocations: 0.7363 MB / 0.5779 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.6378, allocations: 19.44 kB / 0.5779 GB, free: 0.75 MB / 394.7 MB Notification: Performance of SimCode: time 3.587e-06/0.6378, allocations: 0 / 0.5779 GB, free: 0.75 MB / 394.7 MB Notification: Performance of Templates: time 0.004927/0.6427, allocations: 1.701 MB / 0.5796 GB, free: 15.05 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