Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001512, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2896/0.2896, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 58.87 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002556/0.1212, allocations: 1.348 MB / 491.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1229, allocations: 0.7189 MB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.123, allocations: 3.938 kB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1233, allocations: 27.84 kB / 492.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1236, allocations: 51.86 kB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1239, allocations: 67.78 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1241, allocations: 59.92 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.1242, allocations: 11.88 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1243, allocations: 43.83 kB / 492.6 MB, free: 7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.1244, allocations: 23.92 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1244, allocations: 7.938 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1245, allocations: 15.98 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.141e-05/0.1246, allocations: 23.92 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1247, allocations: 49.56 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1249, allocations: 92.09 kB / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1249, allocations: 0 / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1249, allocations: 0 / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1249, allocations: 0 / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006342/0.1255, allocations: 406.9 kB / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1256, allocations: 8.031 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1257, allocations: 15.77 kB / 493.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.126, allocations: 218.5 kB / 493.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.126, allocations: 4 kB / 493.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.126, allocations: 8 kB / 493.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1262, allocations: 45.62 kB / 493.5 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1262, allocations: 3.984 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1263, allocations: 0 / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1263, allocations: 3.938 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.1264, allocations: 15.95 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.1267, allocations: 197.7 kB / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1269, allocations: 50.72 kB / 493.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.127, allocations: 7.922 kB / 493.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.1272, allocations: 63.39 kB / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.1272, allocations: 0 / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003922/0.1276, allocations: 93.58 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1277, allocations: 51.41 kB / 493.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1281, allocations: 266.5 kB / 494.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1281, allocations: 29.64 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1282, allocations: 166.6 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1283, allocations: 7.906 kB / 494.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1283, allocations: 4 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1285, allocations: 322.8 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.1285, allocations: 8 kB / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.1287, allocations: 33.7 kB / 494.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.1288, allocations: 16 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1288, allocations: 0 / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002419/0.129, allocations: 77.61 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.129, allocations: 4 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1291, allocations: 0 / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1291, allocations: 3.938 kB / 494.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1292, allocations: 8 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1292, allocations: 4.312 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.1293, allocations: 15.86 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1294, allocations: 12 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.1295, allocations: 137.8 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1296, allocations: 7.906 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.1296, allocations: 17 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1296, allocations: 0 / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1297, allocations: 0 / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1297, allocations: 3.984 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1299, allocations: 201.5 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1299, allocations: 7.938 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.13, allocations: 3.984 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.13, allocations: 7.938 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.13, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.13, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.13, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1303, allocations: 113 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.1304, allocations: 88.92 kB / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1304, allocations: 4 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.1305, allocations: 3.984 kB / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.1306, allocations: 11.98 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1306, allocations: 0 / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.1309, allocations: 200.2 kB / 495.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1309, allocations: 0 / 495.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.1312, allocations: 16 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/0.1324, allocations: 420.1 kB / 496.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1327, allocations: 39.98 kB / 496.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1327, allocations: 0 / 496.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.1328, allocations: 23.92 kB / 496.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1331, allocations: 23.94 kB / 496.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.1338, allocations: 307.5 kB / 496.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1342, allocations: 0.716 MB / 497.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.1343, allocations: 15.44 kB / 497.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1343, allocations: 4 kB / 497.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of Templates: time 0.005256/0.1395, allocations: 1.82 MB / 499 MB, free: 172 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches