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.001623/0.001623, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001817/0.001817, allocations: 187 kB / 19.34 MB, free: 3.641 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.383/1.383, allocations: 222.9 MB / 243 MB, free: 15.09 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.1987/0.1987, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.78 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003396/0.1219, allocations: 2.084 MB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.124, allocations: 1.312 MB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1241, allocations: 4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.1243, allocations: 19.73 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1244, allocations: 35.64 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1249, allocations: 191.3 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1251, allocations: 176.1 kB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1254, allocations: 95.59 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1255, allocations: 87.58 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1256, allocations: 87.55 kB / 474.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.1257, allocations: 16 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.126, allocations: 143.9 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.126, allocations: 51.77 kB / 475 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.1261, allocations: 91.52 kB / 475.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1265, allocations: 314.8 kB / 475.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1265, allocations: 0 / 475.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1265, allocations: 0 / 475.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1265, allocations: 0 / 475.4 MB, free: 8.953 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.0006219/0.1271, allocations: 0.5189 MB / 475.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1272, allocations: 8.031 kB / 475.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.128, allocations: 72.55 kB / 476 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1282, allocations: 192 kB / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1282, allocations: 20.94 kB / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1282, allocations: 24.38 kB / 476.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.1286, allocations: 201.2 kB / 476.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1286, allocations: 3.938 kB / 476.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1286, allocations: 16 kB / 476.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1287, allocations: 8 kB / 476.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.1289, allocations: 146.1 kB / 476.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.1298, allocations: 0.5811 MB / 477.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.1303, allocations: 229.3 kB / 477.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1304, allocations: 73.3 kB / 477.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1305, allocations: 8.172 kB / 477.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1305, allocations: 34.8 kB / 477.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.292e-06/0.1305, allocations: 0 / 477.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004526/0.131, allocations: 223.7 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.131, allocations: 55.41 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.1311, allocations: 101.9 kB / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1311, allocations: 33.7 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1312, allocations: 136.5 kB / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.1313, allocations: 86.66 kB / 478.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.1313, allocations: 41.7 kB / 478.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1315, allocations: 322.8 kB / 478.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1316, allocations: 47.95 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.1317, allocations: 43.98 kB / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1319, allocations: 116.8 kB / 478.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1319, allocations: 4 kB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002662/0.1321, allocations: 170.2 kB / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1322, allocations: 4 kB / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1322, allocations: 0 / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1322, allocations: 4 kB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.1326, allocations: 107.9 kB / 479 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.1326, allocations: 0 / 479 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1327, allocations: 15.84 kB / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1327, allocations: 4 kB / 479 MB, free: 5.133 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 9.799e-05/0.1328, allocations: 133.7 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1328, allocations: 15.75 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.1329, allocations: 21.12 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1329, allocations: 7.984 kB / 479.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1329, allocations: 4 kB / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1329, allocations: 0 / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1332, allocations: 273.4 kB / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1332, allocations: 3.938 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1335, allocations: 95.95 kB / 479.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1336, allocations: 0 / 479.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1336, allocations: 0 / 479.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1336, allocations: 8 kB / 479.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1336, allocations: 3.938 kB / 479.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1339, allocations: 271.4 kB / 479.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.134, allocations: 92.89 kB / 479.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.134, allocations: 7.984 kB / 479.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.1341, allocations: 4 kB / 479.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1342, allocations: 15.98 kB / 479.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1342, allocations: 8 kB / 479.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.1342, allocations: 91.52 kB / 480 MB, free: 4.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1342, allocations: 0 / 480 MB, free: 4.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1345, allocations: 51.75 kB / 480.1 MB, free: 3.957 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.0001068/0.1346, allocations: 99.12 kB / 480.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.1349, allocations: 135.9 kB / 480.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1349, allocations: 0 / 480.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.135, allocations: 80.84 kB / 480.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1353, allocations: 15.94 kB / 480.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.136, allocations: 456 kB / 480.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1363, allocations: 0.7358 MB / 481.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.078e-05/0.1364, allocations: 17.41 kB / 481.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1365, allocations: 19.44 kB / 481.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1365, allocations: 0 / 481.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Templates: time 0.003378/0.1398, allocations: 0.9261 MB / 482.5 MB, free: 1.426 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 -s gbode -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