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.001485/0.001485, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001695/0.001696, allocations: 194 kB / 18.77 MB, free: 4.742 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.1992/0.1992, allocations: 44.17 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.5 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003768/0.1161, allocations: 2.142 MB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1184, allocations: 1.328 MB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1185, allocations: 4 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.943e-05/0.1186, allocations: 15.8 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1188, allocations: 19.84 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.1194, allocations: 159.5 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1196, allocations: 172.1 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1198, allocations: 95.58 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.12, allocations: 63.72 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1201, allocations: 91.48 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1202, allocations: 16 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.1205, allocations: 147.9 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.1206, allocations: 35.86 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.1207, allocations: 91.45 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.1211, allocations: 219.6 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1211, allocations: 0 / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1211, allocations: 4 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1211, allocations: 0 / 473.8 MB, free: 10.25 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.0007385/0.1219, allocations: 0.5188 MB / 474.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1219, allocations: 12.03 kB / 474.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.1228, allocations: 68.61 kB / 474.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.123, allocations: 184.1 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.123, allocations: 24.88 kB / 474.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.123, allocations: 28.38 kB / 474.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.1234, allocations: 205.1 kB / 474.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1235, allocations: 4 kB / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1235, allocations: 12 kB / 474.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1235, allocations: 4 kB / 474.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1238, allocations: 146.2 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.1247, allocations: 0.5889 MB / 475.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1253, allocations: 227.4 kB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1254, allocations: 69.31 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1254, allocations: 8.156 kB / 475.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1255, allocations: 42.72 kB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.1255, allocations: 0 / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004343/0.1259, allocations: 219.1 kB / 476.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1259, allocations: 55.41 kB / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.126, allocations: 105.8 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.1261, allocations: 29.7 kB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1261, allocations: 128.5 kB / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.1262, allocations: 90.66 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1263, allocations: 41.7 kB / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1264, allocations: 322.8 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1265, allocations: 43.97 kB / 476.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.1266, allocations: 51.91 kB / 476.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1268, allocations: 114.2 kB / 477.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1268, allocations: 0 / 477.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002771/0.1271, allocations: 173.5 kB / 477.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1271, allocations: 7.984 kB / 477.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1271, allocations: 0 / 477.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1272, allocations: 0 / 477.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.1275, allocations: 99.89 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1275, allocations: 4 kB / 477.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.1276, allocations: 19.83 kB / 477.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1276, allocations: 8 kB / 477.4 MB, free: 6.422 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.0001083/0.1278, allocations: 125.8 kB / 477.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1278, allocations: 19.73 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.1279, allocations: 29.12 kB / 477.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1279, allocations: 4 kB / 477.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1279, allocations: 0 / 477.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1279, allocations: 3.984 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.1282, allocations: 265.4 kB / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1282, allocations: 8.188 kB / 477.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.1286, allocations: 103.9 kB / 477.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1286, allocations: 7.938 kB / 477.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1286, allocations: 4 kB / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1286, allocations: 0 / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1287, allocations: 0 / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.129, allocations: 271.4 kB / 478.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1291, allocations: 92.89 kB / 478.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.1291, allocations: 4 kB / 478.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1292, allocations: 12 kB / 478.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1293, allocations: 15.97 kB / 478.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1293, allocations: 8 kB / 478.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.1294, allocations: 79.28 kB / 478.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1294, allocations: 0 / 478.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1297, allocations: 51.75 kB / 478.4 MB, free: 5.25 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.0001117/0.1298, allocations: 107.6 kB / 478.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1301, allocations: 132.3 kB / 478.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1301, allocations: 0 / 478.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1302, allocations: 80.36 kB / 478.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1304, allocations: 19.88 kB / 478.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/0.1313, allocations: 0.5771 MB / 479.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1316, allocations: 0.7322 MB / 480.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1317, allocations: 15.44 kB / 480.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1317, allocations: 0 / 480.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003549/0.1353, allocations: 1.718 MB / 481.8 MB, free: 1.801 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