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.001302/0.001302, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.205/1.205, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007292/0.0007292, allocations: 84.98 kB / 271.2 MB, free: 8.25 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.2831/0.2831, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09155, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002133/0.09372, allocations: 1.736 MB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.09548, allocations: 1.209 MB / 493.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.09562, allocations: 4 kB / 493.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.0957, allocations: 15.84 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.09583, allocations: 19.86 kB / 493.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.09627, allocations: 155.4 kB / 494 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.09646, allocations: 164.1 kB / 494.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.09667, allocations: 95.58 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.09681, allocations: 63.59 kB / 494.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.09693, allocations: 59.64 kB / 494.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.09696, allocations: 8 kB / 494.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.09727, allocations: 127.9 kB / 494.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.0973, allocations: 27.84 kB / 494.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.09738, allocations: 105.2 kB / 494.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.09768, allocations: 207.7 kB / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.09769, allocations: 3.938 kB / 494.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0977, allocations: 0 / 494.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.09771, allocations: 0 / 494.8 MB, free: 6.883 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.0005549/0.09827, allocations: 491.3 kB / 495.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.09831, allocations: 12.03 kB / 495.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.09911, allocations: 68.7 kB / 495.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.09925, allocations: 188.1 kB / 495.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.09928, allocations: 16.94 kB / 495.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.09932, allocations: 24.38 kB / 495.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.09967, allocations: 213.1 kB / 495.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.09969, allocations: 3.938 kB / 495.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.09972, allocations: 16 kB / 495.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.09973, allocations: 4 kB / 495.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.1, allocations: 146.2 kB / 496 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.1008, allocations: 0.5888 MB / 496.5 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1013, allocations: 239.3 kB / 496.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1015, allocations: 69.3 kB / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.1015, allocations: 12.11 kB / 496.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1015, allocations: 38.78 kB / 496.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.1016, allocations: 0 / 496.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004349/0.102, allocations: 223.8 kB / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.102, allocations: 55.41 kB / 497.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.1021, allocations: 101.8 kB / 497.3 MB, free: 4.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1021, allocations: 29.7 kB / 497.3 MB, free: 4.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.1022, allocations: 136.5 kB / 497.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.1023, allocations: 86.75 kB / 497.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.1023, allocations: 4 kB / 497.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.1024, allocations: 326.8 kB / 497.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.1025, allocations: 39.97 kB / 497.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.1026, allocations: 52.84 kB / 497.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1028, allocations: 117.3 kB / 498 MB, free: 3.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1028, allocations: 4 kB / 498 MB, free: 3.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002695/0.1031, allocations: 177.4 kB / 498.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1031, allocations: 6.5 kB / 498.2 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1031, allocations: 4 kB / 498.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1032, allocations: 3.938 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.1035, allocations: 103.9 kB / 498.3 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1035, allocations: 0 / 498.3 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.1036, allocations: 19.84 kB / 498.4 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1036, allocations: 8 kB / 498.4 MB, free: 3.109 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 () * 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.0001013/0.1037, allocations: 125.8 kB / 498.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.1038, allocations: 15.84 kB / 498.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.1038, allocations: 25.12 kB / 498.5 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1038, allocations: 4 kB / 498.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1038, allocations: 4 kB / 498.5 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1038, allocations: 3.938 kB / 498.5 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1041, allocations: 261.4 kB / 498.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1041, allocations: 4.188 kB / 498.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.1045, allocations: 111.9 kB / 498.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1045, allocations: 0 / 498.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1045, allocations: 8 kB / 498.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1045, allocations: 4 kB / 498.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1045, allocations: 0 / 498.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1048, allocations: 271.6 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.1049, allocations: 96.8 kB / 499.3 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1049, allocations: 4 kB / 499.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.105, allocations: 12 kB / 499.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1051, allocations: 15.97 kB / 499.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1051, allocations: 8 kB / 499.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.1051, allocations: 79.28 kB / 499.4 MB, free: 1.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1051, allocations: 0 / 499.4 MB, free: 1.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.1054, allocations: 47.84 kB / 499.4 MB, free: 1.934 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 () * 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.0001014/0.1055, allocations: 103.2 kB / 499.5 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1057, allocations: 135.9 kB / 499.7 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1058, allocations: 0 / 499.7 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1059, allocations: 79.91 kB / 499.8 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1061, allocations: 19.81 kB / 499.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.1068, allocations: 0.6203 MB / 0.4887 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1071, allocations: 0.7322 MB / 0.4894 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1072, allocations: 15.44 kB / 0.4894 GB, free: 164 kB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1072, allocations: 0 / 0.4894 GB, free: 164 kB / 378.7 MB Notification: Performance of Templates: time 0.1484/0.2556, allocations: 1.694 MB / 0.491 GB, free: 42.08 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/jenkins/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