Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 104.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 198.2 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1885/0.1885, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 75.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09084, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002951/0.09383, allocations: 2.081 MB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.09558, allocations: 1.317 MB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.09566, allocations: 4 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.09573, allocations: 27.66 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.09585, allocations: 31.64 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.09627, allocations: 183.3 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.09644, allocations: 172.1 kB / 0.4923 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.09664, allocations: 111.3 kB / 0.4924 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.09676, allocations: 75.64 kB / 0.4925 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.09686, allocations: 87.55 kB / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.09689, allocations: 19.94 kB / 0.4926 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.09714, allocations: 147.9 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.09718, allocations: 51.83 kB / 0.4928 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.09726, allocations: 91.47 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.09759, allocations: 310.9 kB / 0.4931 GB, free: 7.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0976, allocations: 3.938 kB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09761, allocations: 0 / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.09762, allocations: 0 / 0.4931 GB, free: 7.07 MB / 382.1 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.0005007/0.09812, allocations: 0.526 MB / 0.4937 GB, free: 6.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.09816, allocations: 8.031 kB / 0.4937 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.09896, allocations: 76.61 kB / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.09907, allocations: 180.2 kB / 0.4939 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.0991, allocations: 20.94 kB / 0.4939 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.09913, allocations: 28.31 kB / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.09945, allocations: 197.2 kB / 0.4941 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.09947, allocations: 0 / 0.4941 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.09949, allocations: 12 kB / 0.4942 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.0995, allocations: 8 kB / 0.4942 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.09976, allocations: 154.1 kB / 0.4943 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.1005, allocations: 0.5849 MB / 0.4949 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.1009, allocations: 235.3 kB / 0.4951 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1011, allocations: 77.22 kB / 0.4952 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1011, allocations: 8.172 kB / 0.4952 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.1011, allocations: 34.8 kB / 0.4952 GB, free: 4.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.1011, allocations: 4 kB / 0.4952 GB, free: 4.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0003924/0.1015, allocations: 214.2 kB / 0.4954 GB, free: 4.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.1015, allocations: 55.41 kB / 0.4955 GB, free: 4.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.1016, allocations: 97.86 kB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1016, allocations: 33.7 kB / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1017, allocations: 136.5 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1018, allocations: 86.59 kB / 0.4958 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1018, allocations: 45.7 kB / 0.4959 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.1019, allocations: 326.8 kB / 0.4962 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.102, allocations: 47.91 kB / 0.4962 GB, free: 3.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.1021, allocations: 36.23 kB / 0.4963 GB, free: 3.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1023, allocations: 126.2 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1023, allocations: 4 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002366/0.1025, allocations: 165.5 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1025, allocations: 4 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1026, allocations: 8 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1026, allocations: 0 / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1029, allocations: 103.9 kB / 0.4966 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1029, allocations: 0 / 0.4966 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.103, allocations: 11.91 kB / 0.4967 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.103, allocations: 4 kB / 0.4967 GB, free: 3.242 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.1031, allocations: 141.7 kB / 0.4968 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.1031, allocations: 11.84 kB / 0.4968 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1032, allocations: 29.06 kB / 0.4968 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1032, allocations: 3.984 kB / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1032, allocations: 0 / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.1033, allocations: 88.92 kB / 0.4969 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1033, allocations: 4 kB / 0.4969 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1034, allocations: 8 kB / 0.4969 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1035, allocations: 15.97 kB / 0.497 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005777/0.104, allocations: 352.8 kB / 0.4973 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002865/0.1043, allocations: 347 kB / 0.4976 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.57e-05/0.1044, allocations: 71.95 kB / 0.4977 GB, free: 2.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.1045, allocations: 83.27 kB / 0.4978 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Backend: time 2.5e-07/0.1045, allocations: 0 / 0.4978 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.105, allocations: 256.8 kB / 0.498 GB, free: 1.801 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006506/0.1057, allocations: 0.8681 MB / 0.4989 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of Templates: time 0.005007/0.1107, allocations: 2.595 MB / 0.5014 GB, free: 14.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches