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.001199/0.001199, allocations: 183 kB / 16.63 MB, free: 5.137 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.277/1.277, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009108/0.0009108, allocations: 99.23 kB / 269.9 MB, free: 8.441 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.3045/0.3045, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009537/0.0009539, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.104, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003251/0.1073, allocations: 2.145 MB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1092, allocations: 1.329 MB / 490.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1093, allocations: 4 kB / 490.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.564e-05/0.1094, allocations: 19.84 kB / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1096, allocations: 27.78 kB / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.11, allocations: 151.5 kB / 490.7 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1102, allocations: 168.2 kB / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1104, allocations: 99.56 kB / 490.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1105, allocations: 79.64 kB / 491 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1106, allocations: 87.55 kB / 491.1 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1107, allocations: 12 kB / 491.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.111, allocations: 135.9 kB / 491.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1111, allocations: 47.77 kB / 491.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.1112, allocations: 87.48 kB / 491.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.1116, allocations: 299.3 kB / 491.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1116, allocations: 0 / 491.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1116, allocations: 4 kB / 491.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1116, allocations: 0 / 491.7 MB, free: 7.863 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.0006732/0.1123, allocations: 0.5188 MB / 492.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1124, allocations: 8.031 kB / 492.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.1132, allocations: 68.61 kB / 492.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1134, allocations: 188.1 kB / 492.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1134, allocations: 16.94 kB / 492.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1134, allocations: 28.38 kB / 492.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1138, allocations: 201.2 kB / 492.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1138, allocations: 0 / 492.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1138, allocations: 12 kB / 492.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1138, allocations: 4 kB / 492.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.1141, allocations: 158.1 kB / 492.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.115, allocations: 0.5966 MB / 493.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.1155, allocations: 231.3 kB / 493.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1156, allocations: 73.3 kB / 493.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1156, allocations: 8.172 kB / 493.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1156, allocations: 34.8 kB / 493.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.233e-06/0.1157, allocations: 0 / 493.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004048/0.1161, allocations: 219.8 kB / 494 MB, free: 5.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.1161, allocations: 51.41 kB / 494.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.1162, allocations: 106 kB / 494.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1162, allocations: 29.7 kB / 494.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1163, allocations: 132.5 kB / 494.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.1163, allocations: 94.64 kB / 494.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.1164, allocations: 41.7 kB / 494.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.1165, allocations: 322.8 kB / 494.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.1166, allocations: 43.92 kB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.1167, allocations: 48.97 kB / 494.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1169, allocations: 121.3 kB / 495 MB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1169, allocations: 4 kB / 495 MB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002505/0.1171, allocations: 173.4 kB / 495.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1172, allocations: 4 kB / 495.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1172, allocations: 0 / 495.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1172, allocations: 0 / 495.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.1175, allocations: 95.89 kB / 495.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1175, allocations: 8 kB / 495.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.1176, allocations: 23.77 kB / 495.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1176, allocations: 8 kB / 495.3 MB, free: 4.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.1177, allocations: 121.8 kB / 495.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1178, allocations: 15.84 kB / 495.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.1178, allocations: 21.12 kB / 495.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1179, allocations: 7.984 kB / 495.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1179, allocations: 0 / 495.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1179, allocations: 3.984 kB / 495.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1181, allocations: 269.4 kB / 495.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1181, allocations: 11.88 kB / 495.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.1185, allocations: 91.94 kB / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1185, allocations: 4 kB / 495.8 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1185, allocations: 4 kB / 495.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1185, allocations: 0 / 495.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1185, allocations: 4 kB / 495.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.1192, allocations: 0.8802 MB / 496.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1192, allocations: 92.94 kB / 496.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1192, allocations: 4 kB / 496.8 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.1193, allocations: 4 kB / 496.8 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1194, allocations: 23.92 kB / 496.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1194, allocations: 4 kB / 496.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.1194, allocations: 91.27 kB / 496.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1194, allocations: 0 / 496.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.1198, allocations: 55.62 kB / 497 MB, free: 2.195 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.979e-05/0.1199, allocations: 103.2 kB / 497.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1201, allocations: 135.9 kB / 497.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1202, allocations: 4 kB / 497.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1203, allocations: 79.84 kB / 497.3 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1205, allocations: 8 kB / 497.3 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.1213, allocations: 0.7355 MB / 498 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1216, allocations: 0.7361 MB / 498.8 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1217, allocations: 17.42 kB / 498.8 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.1218, allocations: 15.44 kB / 498.8 MB, free: 292 kB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1218, allocations: 0 / 498.8 MB, free: 292 kB / 378.7 MB Notification: Performance of Templates: time 0.002779/0.1245, allocations: 0.8906 MB / 499.7 MB, free: 15.39 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@2/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