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.000857/0.0008572, allocations: 93.55 kB / 18 MB, free: 5.602 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.0009799/0.0009799, allocations: 178 kB / 18.91 MB, free: 4.738 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.368/1.368, allocations: 223.3 MB / 243 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3349/0.3349, allocations: 44.25 MB / 338.3 MB, free: 2.609 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 8.75 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002201/0.1077, allocations: 1.787 MB / 474.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1098, allocations: 1.305 MB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1099, allocations: 4 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.11, allocations: 11.86 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1101, allocations: 19.84 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1106, allocations: 159.5 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1108, allocations: 172.1 kB / 476.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1109, allocations: 87.61 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1111, allocations: 55.72 kB / 476.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.1112, allocations: 71.5 kB / 476.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1112, allocations: 8 kB / 476.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1115, allocations: 135.9 kB / 476.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.1115, allocations: 27.84 kB / 476.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.1116, allocations: 109.1 kB / 476.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1119, allocations: 207.7 kB / 477 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.1119, allocations: 0 / 477 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1119, allocations: 4 kB / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.112, allocations: 4 kB / 477.1 MB, free: 9.137 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.000584/0.1125, allocations: 491.3 kB / 477.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1126, allocations: 8.031 kB / 477.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.1135, allocations: 68.61 kB / 477.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1136, allocations: 184.2 kB / 477.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.1136, allocations: 20.94 kB / 477.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.1137, allocations: 32.31 kB / 477.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.114, allocations: 197.2 kB / 478 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.114, allocations: 4 kB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1141, allocations: 11.98 kB / 478 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1141, allocations: 8 kB / 478.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.1144, allocations: 150.2 kB / 478.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.1152, allocations: 0.5966 MB / 478.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.1157, allocations: 223.4 kB / 479 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1159, allocations: 81.23 kB / 479.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1159, allocations: 8.172 kB / 479.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.116, allocations: 30.8 kB / 479.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.116, allocations: 0 / 479.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004461/0.1164, allocations: 227.1 kB / 479.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1165, allocations: 59.41 kB / 479.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.1165, allocations: 105.9 kB / 479.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1166, allocations: 29.7 kB / 479.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1166, allocations: 132.5 kB / 479.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.1167, allocations: 94.64 kB / 479.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1167, allocations: 25.7 kB / 479.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.1168, allocations: 322.8 kB / 480.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.117, allocations: 51.89 kB / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.1171, allocations: 51.98 kB / 480.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.1173, allocations: 118.2 kB / 480.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1173, allocations: 3.938 kB / 480.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002725/0.1176, allocations: 169.5 kB / 480.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1176, allocations: 8 kB / 480.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1176, allocations: 4 kB / 480.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1176, allocations: 0 / 480.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.118, allocations: 103.9 kB / 480.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.118, allocations: 0 / 480.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.1181, allocations: 19.84 kB / 480.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1181, allocations: 4 kB / 480.6 MB, free: 5.336 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 0.0001105/0.1182, allocations: 133.8 kB / 480.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1183, allocations: 15.75 kB / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.1184, allocations: 21.12 kB / 480.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1184, allocations: 4 kB / 480.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1184, allocations: 0 / 480.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1184, allocations: 3.984 kB / 480.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1187, allocations: 265.4 kB / 481.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1187, allocations: 7.922 kB / 481.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.119, allocations: 103.9 kB / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.119, allocations: 0 / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1191, allocations: 0 / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1191, allocations: 4 kB / 481.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1191, allocations: 0 / 481.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1194, allocations: 279.4 kB / 481.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1195, allocations: 92.89 kB / 481.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1195, allocations: 11.97 kB / 481.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.1196, allocations: 4 kB / 481.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1196, allocations: 15.98 kB / 481.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1197, allocations: 8 kB / 481.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.1197, allocations: 87.27 kB / 481.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1197, allocations: 4 kB / 481.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.12, allocations: 43.75 kB / 481.7 MB, free: 4.164 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 0.0001128/0.1201, allocations: 111.6 kB / 481.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1204, allocations: 140.3 kB / 482 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1204, allocations: 4 kB / 482 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1205, allocations: 75.84 kB / 482 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1208, allocations: 19.94 kB / 482.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.1215, allocations: 0.6399 MB / 482.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1218, allocations: 0.7283 MB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1219, allocations: 15.44 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1219, allocations: 0 / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Templates: time 0.003316/0.1252, allocations: 1.696 MB / 485.1 MB, free: 0.6719 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