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.001107/0.001107, allocations: 113.8 kB / 17.32 MB, free: 5.961 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.001102/0.001102, allocations: 193.3 kB / 18.25 MB, free: 5.051 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.326/1.326, allocations: 222.9 MB / 241.9 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.2091/0.2091, allocations: 44.18 MB / 336.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 68.61 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1155, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003769/0.1193, allocations: 2.142 MB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1213, allocations: 1.297 MB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.1214, allocations: 4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.1215, allocations: 15.86 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1217, allocations: 27.78 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.1223, allocations: 159.5 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1225, allocations: 176.1 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1227, allocations: 99.58 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1229, allocations: 79.7 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.123, allocations: 91.48 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.123, allocations: 16 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1233, allocations: 147.9 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.1234, allocations: 43.83 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.1235, allocations: 91.42 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1238, allocations: 307.3 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1238, allocations: 4 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1239, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1239, allocations: 0 / 473.4 MB, free: 10.03 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.0006079/0.1245, allocations: 0.5149 MB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1245, allocations: 8.031 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.1254, allocations: 76.61 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1255, allocations: 184 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1255, allocations: 20.94 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1256, allocations: 24.38 kB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1259, allocations: 209.2 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.126, allocations: 0 / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.126, allocations: 12 kB / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.126, allocations: 8 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.1263, allocations: 142.2 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.1271, allocations: 0.5967 MB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.1276, allocations: 231.3 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1277, allocations: 65.3 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1278, allocations: 12.17 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1278, allocations: 38.78 kB / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.1278, allocations: 0 / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004377/0.1283, allocations: 215.1 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1283, allocations: 59.34 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.1284, allocations: 97.84 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1284, allocations: 33.7 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1285, allocations: 140.5 kB / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.1286, allocations: 90.64 kB / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.1286, allocations: 41.7 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1288, allocations: 322.8 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.1289, allocations: 43.97 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.1289, allocations: 43.97 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1291, allocations: 118.2 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1292, allocations: 0 / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002641/0.1294, allocations: 173.4 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1295, allocations: 10.64 kB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1295, allocations: 0 / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1295, allocations: 4 kB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.1299, allocations: 95.89 kB / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1299, allocations: 0 / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.1299, allocations: 23.83 kB / 477 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.13, allocations: 4 kB / 477 MB, free: 6.203 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.0001225/0.1301, allocations: 129.8 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1301, allocations: 15.75 kB / 477.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.1302, allocations: 21.12 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1302, allocations: 4 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1302, allocations: 0 / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1302, allocations: 7.969 kB / 477.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1305, allocations: 269.4 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1306, allocations: 4.188 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1309, allocations: 107.9 kB / 477.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1309, allocations: 0 / 477.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1309, allocations: 4 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.131, allocations: 7.984 kB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.131, allocations: 0 / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1313, allocations: 271.4 kB / 477.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1313, allocations: 92.89 kB / 477.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1314, allocations: 8 kB / 477.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.1315, allocations: 4 kB / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1315, allocations: 15.97 kB / 477.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1316, allocations: 11.94 kB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.1316, allocations: 79.28 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 4 kB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1319, allocations: 51.75 kB / 478.1 MB, free: 5.027 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.0001289/0.1321, allocations: 103.7 kB / 478.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1324, allocations: 156.3 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1324, allocations: 0 / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1325, allocations: 71.91 kB / 478.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1328, allocations: 15.94 kB / 478.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.1336, allocations: 0.5503 MB / 479 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.134, allocations: 0.7397 MB / 479.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1341, allocations: 13.42 kB / 479.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1342, allocations: 19.44 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1342, allocations: 0 / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of Templates: time 0.003506/0.1377, allocations: 0.8946 MB / 480.6 MB, free: 2.406 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches