Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001559/0.001559, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 44.17 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.19 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09157, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003162/0.09477, allocations: 2.089 MB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.09669, allocations: 1.309 MB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.09678, allocations: 4 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.006e-05/0.09684, allocations: 19.73 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.09698, allocations: 35.64 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.09743, allocations: 187.3 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.09761, allocations: 172.1 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.09783, allocations: 95.59 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.09796, allocations: 83.64 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.09808, allocations: 87.55 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.09811, allocations: 16 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.0984, allocations: 151.9 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.09845, allocations: 51.77 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.09853, allocations: 91.47 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.09889, allocations: 303.3 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0989, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09891, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09892, allocations: 4 kB / 474.6 MB, free: 9.66 MB / 350.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.000579/0.09951, allocations: 0.5188 MB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.09955, allocations: 12.03 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.1004, allocations: 68.61 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1005, allocations: 184 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1006, allocations: 20.94 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1006, allocations: 28.38 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1009, allocations: 205.2 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.101, allocations: 0 / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.101, allocations: 8 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.101, allocations: 8 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1013, allocations: 146.2 kB / 475.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.1021, allocations: 0.5928 MB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.1026, allocations: 233.2 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1028, allocations: 69.3 kB / 476.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1028, allocations: 8.172 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1028, allocations: 34.8 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.452e-06/0.1028, allocations: 4 kB / 476.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004423/0.1033, allocations: 215.8 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1033, allocations: 59.34 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.1034, allocations: 105.8 kB / 477.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1034, allocations: 29.7 kB / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.1035, allocations: 128.5 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.1036, allocations: 90.66 kB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1036, allocations: 41.7 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1038, allocations: 326.8 kB / 477.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1039, allocations: 43.97 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.104, allocations: 43.97 kB / 477.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1042, allocations: 112.8 kB / 477.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1042, allocations: 0 / 477.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002783/0.1045, allocations: 178 kB / 478.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1045, allocations: 8 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1045, allocations: 4.25 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1045, allocations: 0 / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1049, allocations: 95.95 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1049, allocations: 0 / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.105, allocations: 23.77 kB / 478.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.105, allocations: 12 kB / 478.2 MB, free: 5.836 MB / 350.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 9.519e-05/0.1051, allocations: 129.8 kB / 478.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1052, allocations: 19.75 kB / 478.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.1052, allocations: 21.12 kB / 478.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1052, allocations: 4 kB / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1052, allocations: 0 / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1053, allocations: 7.969 kB / 478.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1055, allocations: 265.4 kB / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1055, allocations: 3.938 kB / 478.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.1059, allocations: 103.9 kB / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1059, allocations: 0 / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1059, allocations: 8 kB / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1059, allocations: 0 / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.106, allocations: 0 / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.1063, allocations: 279.3 kB / 479 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1063, allocations: 92.89 kB / 479.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1064, allocations: 4 kB / 479.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1065, allocations: 11.98 kB / 479.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1065, allocations: 11.98 kB / 479.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1065, allocations: 8 kB / 479.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.527e-05/0.1066, allocations: 79.28 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1066, allocations: 0 / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1069, allocations: 51.75 kB / 479.3 MB, free: 4.668 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.211e-05/0.107, allocations: 107.2 kB / 479.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1073, allocations: 143.9 kB / 479.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1073, allocations: 0 / 479.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1074, allocations: 80.84 kB / 479.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1077, allocations: 15.88 kB / 479.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.1084, allocations: 493.8 kB / 480.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1087, allocations: 0.7358 MB / 480.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.1087, allocations: 19.44 kB / 480.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1088, allocations: 0 / 480.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of Templates: time 0.003204/0.112, allocations: 1.726 MB / 482.6 MB, free: 1.293 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches