Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 117.6 kB / 17.7 MB, free: 5.297 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.001771/0.001771, allocations: 188 kB / 18.63 MB, free: 4.371 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.534/1.534, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000996/0.0009961, allocations: 39.38 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1208, allocations: 49.45 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003403/0.1243, allocations: 1.506 MB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.1252, allocations: 0.4962 MB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.1253, allocations: 0 / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1254, allocations: 15.86 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.1255, allocations: 15.92 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.1257, allocations: 39.91 kB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1258, allocations: 55.78 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1259, allocations: 15.98 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1261, allocations: 31.91 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1262, allocations: 31.78 kB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1262, allocations: 8 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.1263, allocations: 16 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.1263, allocations: 11.98 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1264, allocations: 27.88 kB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1265, allocations: 67.78 kB / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1265, allocations: 0 / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1266, allocations: 3.938 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1266, allocations: 0 / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008277/0.1274, allocations: 383.2 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1275, allocations: 16.02 kB / 354.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1275, allocations: 4.844 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1277, allocations: 180.3 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1277, allocations: 4.375 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1278, allocations: 4.375 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.1281, allocations: 89.89 kB / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1281, allocations: 0 / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1281, allocations: 7.938 kB / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1281, allocations: 0 / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.1285, allocations: 83.91 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1289, allocations: 308.7 kB / 354.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1292, allocations: 70.53 kB / 355 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1294, allocations: 48.94 kB / 355 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1294, allocations: 0 / 355 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1294, allocations: 34.56 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1294, allocations: 0 / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.13, allocations: 153.5 kB / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1301, allocations: 55.41 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1302, allocations: 109.8 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1302, allocations: 25.7 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.1303, allocations: 92.08 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1303, allocations: 19.7 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1303, allocations: 17.72 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1305, allocations: 322.8 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1306, allocations: 35.95 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1308, allocations: 36.22 kB / 355.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1311, allocations: 88.91 kB / 356 MB, free: 14.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1311, allocations: 0 / 356 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003246/0.1314, allocations: 117.5 kB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1314, allocations: 4 kB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1314, allocations: 0 / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1315, allocations: 4 kB / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1316, allocations: 19.98 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1316, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.1317, allocations: 19.86 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1317, allocations: 3.984 kB / 356.1 MB, free: 14.82 MB / 302.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 (5): * Single equations (assignments): 5 * 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.993e-05/0.1318, allocations: 121.7 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1319, allocations: 3.906 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1322, allocations: 137.9 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1323, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1323, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1323, allocations: 7.984 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1325, allocations: 185.5 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1325, allocations: 0 / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1326, allocations: 23.98 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1326, allocations: 0 / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1326, allocations: 7.984 kB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1326, allocations: 4 kB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1327, allocations: 0 / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.133, allocations: 215.3 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.1331, allocations: 89 kB / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1331, allocations: 8 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1332, allocations: 12.05 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.1333, allocations: 4 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1333, allocations: 7.984 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.76e-05/0.1333, allocations: 83.28 kB / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1333, allocations: 4 kB / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1336, allocations: 15.94 kB / 357 MB, free: 13.8 MB / 302.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 (7): * Single equations (assignments): 7 * 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.0001291/0.1337, allocations: 113.1 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.1341, allocations: 87.86 kB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1341, allocations: 4 kB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1342, allocations: 48.11 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1345, allocations: 4.156 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1349, allocations: 169.9 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1352, allocations: 0.6923 MB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.1352, allocations: 4 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1353, allocations: 15.44 kB / 358.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1353, allocations: 0 / 358.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Templates: time 0.003399/0.1387, allocations: 0.9042 MB / 359.1 MB, free: 11.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches