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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001725/0.001725, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 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.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2242/0.2242, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 65.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003205/0.1265, allocations: 2.105 MB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1285, allocations: 1.302 MB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.1285, allocations: 11.94 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.1286, allocations: 19.73 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1288, allocations: 39.66 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1292, allocations: 179.3 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1294, allocations: 180.1 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1296, allocations: 111.3 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1298, allocations: 75.64 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.1299, allocations: 87.55 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.1299, allocations: 16 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.1303, allocations: 151.9 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.1303, allocations: 47.77 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.1304, allocations: 95.47 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.1308, allocations: 310.9 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1308, allocations: 0 / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1308, allocations: 0 / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1308, allocations: 0 / 0.4925 GB, free: 7.039 MB / 382.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.0005838/0.1314, allocations: 0.5226 MB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1314, allocations: 8.031 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/0.1322, allocations: 72.61 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1323, allocations: 180.1 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1324, allocations: 24.88 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1324, allocations: 24.38 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1328, allocations: 205.2 kB / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1328, allocations: 0 / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1328, allocations: 12 kB / 0.4935 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1328, allocations: 8 kB / 0.4935 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.1331, allocations: 150.1 kB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.1339, allocations: 0.5888 MB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1344, allocations: 239.3 kB / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1346, allocations: 65.3 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1346, allocations: 8.172 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1346, allocations: 34.8 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.1346, allocations: 0 / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.000442/0.1351, allocations: 226.1 kB / 0.4948 GB, free: 4.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1351, allocations: 55.41 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.1352, allocations: 101.8 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1353, allocations: 29.7 kB / 0.495 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.1353, allocations: 136.5 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.1354, allocations: 86.66 kB / 0.4952 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1355, allocations: 45.64 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1356, allocations: 330.8 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.1357, allocations: 35.98 kB / 0.4956 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.1358, allocations: 43.97 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.136, allocations: 126.2 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.136, allocations: 3.938 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002642/0.1363, allocations: 165.5 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1363, allocations: 8 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1363, allocations: 4 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1363, allocations: 0 / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.1367, allocations: 95.89 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1367, allocations: 256 / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.1368, allocations: 15.89 kB / 0.496 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1368, allocations: 8 kB / 0.496 GB, free: 3.207 MB / 382.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.0001126/0.1369, allocations: 137.7 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1369, allocations: 11.84 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.137, allocations: 25.12 kB / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.137, allocations: 0 / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.137, allocations: 7.938 kB / 0.4962 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.137, allocations: 3.984 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1373, allocations: 261.5 kB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1373, allocations: 3.938 kB / 0.4964 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.1377, allocations: 103.9 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1377, allocations: 3.938 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1377, allocations: 8 kB / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1377, allocations: 0 / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1377, allocations: 0 / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.138, allocations: 279.2 kB / 0.4968 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1381, allocations: 96.89 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1381, allocations: 4 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.1382, allocations: 11.98 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1382, allocations: 7.984 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1383, allocations: 12 kB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.1383, allocations: 79.28 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1383, allocations: 0 / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1386, allocations: 47.78 kB / 0.4971 GB, free: 2.027 MB / 382.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.0001192/0.1387, allocations: 115.1 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.139, allocations: 132.3 kB / 0.4973 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.139, allocations: 0 / 0.4973 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1391, allocations: 75.91 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1394, allocations: 15.92 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.1402, allocations: 471.5 kB / 0.4978 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1406, allocations: 0.7319 MB / 0.4986 GB, free: 452 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.1406, allocations: 17.41 kB / 0.4986 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.1407, allocations: 19.42 kB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1407, allocations: 4 kB / 0.4986 GB, free: 412 kB / 382.1 MB Notification: Performance of Templates: time 0.003174/0.1439, allocations: 0.9526 MB / 0.4995 GB, free: 15.45 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches