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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009727/0.0009728, allocations: 183 kB / 13.19 MB, free: 2.129 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.349/1.349, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008682/0.0008682, allocations: 91.77 kB / 267 MB, free: 9.273 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.3449/0.3449, allocations: 43.47 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.86e-05, allocations: 8 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4832, allocations: 89.07 MB / 0.5598 GB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4834, allocations: 67.25 kB / 0.5598 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.4992, allocations: 6.078 MB / 0.5658 GB, free: 9.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4992, allocations: 0 / 0.5658 GB, free: 9.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4993, allocations: 4 kB / 0.5658 GB, free: 9.723 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.0005092/0.4998, allocations: 482 kB / 0.5662 GB, free: 9.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4998, allocations: 8.031 kB / 0.5663 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/0.5006, allocations: 75.11 kB / 0.5663 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5007, allocations: 182.8 kB / 0.5665 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.5007, allocations: 20.56 kB / 0.5665 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.5008, allocations: 24 kB / 0.5665 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.5011, allocations: 185 kB / 0.5667 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5011, allocations: 0 / 0.5667 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.5012, allocations: 16 kB / 0.5667 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5012, allocations: 5.375 kB / 0.5667 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.5014, allocations: 134.2 kB / 0.5669 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008834/0.5023, allocations: 0.6005 MB / 0.5675 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.5028, allocations: 227.4 kB / 0.5677 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.5029, allocations: 57.33 kB / 0.5677 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.503, allocations: 8.234 kB / 0.5677 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.503, allocations: 34.8 kB / 0.5678 GB, free: 7.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.503, allocations: 0 / 0.5678 GB, free: 7.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003026/0.5033, allocations: 151.9 kB / 0.5679 GB, free: 7.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5033, allocations: 55.41 kB / 0.568 GB, free: 7.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.5034, allocations: 101.2 kB / 0.5681 GB, free: 7.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.5035, allocations: 29.7 kB / 0.5681 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.5035, allocations: 132.2 kB / 0.5682 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.5036, allocations: 98.64 kB / 0.5683 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.5036, allocations: 7.062 kB / 0.5683 GB, free: 6.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5038, allocations: 318.8 kB / 0.5686 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.5038, allocations: 43.94 kB / 0.5687 GB, free: 6.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.5039, allocations: 36 kB / 0.5687 GB, free: 6.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.407e-05/0.504, allocations: 44.67 kB / 0.5687 GB, free: 6.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.504, allocations: 0 / 0.5687 GB, free: 6.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002206/0.5042, allocations: 157.5 kB / 0.5689 GB, free: 6.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5042, allocations: 4 kB / 0.5689 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5043, allocations: 4.062 kB / 0.5689 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5043, allocations: 4 kB / 0.5689 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.5046, allocations: 103.9 kB / 0.569 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5047, allocations: 0 / 0.569 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.5047, allocations: 15.84 kB / 0.569 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.5048, allocations: 8 kB / 0.569 GB, free: 6.211 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 () * 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 8.021e-05/0.5048, allocations: 123.7 kB / 0.5691 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.5049, allocations: 15.77 kB / 0.5692 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.505, allocations: 29.12 kB / 0.5692 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.505, allocations: 0 / 0.5692 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.505, allocations: 0 / 0.5692 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.505, allocations: 4 kB / 0.5692 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.5053, allocations: 265.4 kB / 0.5694 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5053, allocations: 0 / 0.5694 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.5056, allocations: 99.94 kB / 0.5695 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5057, allocations: 3.953 kB / 0.5695 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5057, allocations: 11.94 kB / 0.5695 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5057, allocations: 0 / 0.5695 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5057, allocations: 0 / 0.5695 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.506, allocations: 255.4 kB / 0.5698 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.506, allocations: 89.61 kB / 0.5699 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.5061, allocations: 7.953 kB / 0.5699 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.5062, allocations: 8 kB / 0.5699 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.5062, allocations: 19.97 kB / 0.5699 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5062, allocations: 4 kB / 0.5699 GB, free: 5.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.5063, allocations: 83.28 kB / 0.57 GB, free: 5.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5063, allocations: 3.5 kB / 0.57 GB, free: 5.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.5065, allocations: 47.75 kB / 0.57 GB, free: 5.082 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 () * 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.0001057/0.5066, allocations: 103.2 kB / 0.5701 GB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5069, allocations: 128.4 kB / 0.5703 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5069, allocations: 0 / 0.5703 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.507, allocations: 63.94 kB / 0.5703 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.5071, allocations: 9.094 kB / 0.5703 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.5075, allocations: 239 kB / 0.5706 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5077, allocations: 0.741 MB / 0.5713 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.5078, allocations: 17.19 kB / 0.5713 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5079, allocations: 15.44 kB / 0.5713 GB, free: 3.723 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5079, allocations: 0 / 0.5713 GB, free: 3.723 MB / 394.7 MB Notification: Performance of Templates: time 0.00274/0.5106, allocations: 0.8186 MB / 0.5721 GB, free: 2.906 MB / 394.7 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/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_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches