Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009109/0.000911, allocations: 176.8 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008057/0.0008056, allocations: 93.91 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3709/0.3709, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5159, allocations: 86.43 MB / 0.5644 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5162, allocations: 75.95 kB / 0.5644 GB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.5265, allocations: 3.979 MB / 0.5683 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5265, allocations: 0 / 0.5683 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5266, allocations: 0 / 0.5683 GB, free: 11.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004743/0.527, allocations: 414.6 kB / 0.5687 GB, free: 11.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5271, allocations: 9.062 kB / 0.5687 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.5271, allocations: 16.83 kB / 0.5687 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.5274, allocations: 204.7 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5275, allocations: 384 / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.5275, allocations: 12.38 kB / 0.5689 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5276, allocations: 46.25 kB / 0.569 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5277, allocations: 192 / 0.569 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.5277, allocations: 3.938 kB / 0.569 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.5277, allocations: 0 / 0.569 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.5278, allocations: 31.91 kB / 0.569 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.5282, allocations: 289 kB / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.5284, allocations: 49.41 kB / 0.5693 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.5285, allocations: 20.94 kB / 0.5694 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5285, allocations: 3.938 kB / 0.5694 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5285, allocations: 34.56 kB / 0.5694 GB, free: 10.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5285, allocations: 0 / 0.5694 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005511/0.5291, allocations: 165.3 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.5292, allocations: 55.41 kB / 0.5696 GB, free: 10.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.5294, allocations: 219 kB / 0.5698 GB, free: 9.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5294, allocations: 25.7 kB / 0.5698 GB, free: 9.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.5295, allocations: 108.1 kB / 0.5699 GB, free: 9.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5295, allocations: 11.81 kB / 0.57 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.5295, allocations: 4 kB / 0.57 GB, free: 9.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5297, allocations: 326.7 kB / 0.5703 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.5298, allocations: 27.98 kB / 0.5703 GB, free: 9.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.5299, allocations: 23.98 kB / 0.5703 GB, free: 9.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.53, allocations: 52.83 kB / 0.5704 GB, free: 9.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.53, allocations: 0 / 0.5704 GB, free: 9.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.5302, allocations: 89.52 kB / 0.5705 GB, free: 9.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5302, allocations: 4 kB / 0.5705 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5303, allocations: 0 / 0.5705 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5303, allocations: 288 / 0.5705 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.5303, allocations: 20.55 kB / 0.5705 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5304, allocations: 0 / 0.5705 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.5304, allocations: 15.98 kB / 0.5705 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5304, allocations: 0 / 0.5705 GB, free: 9.102 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5306, allocations: 133.8 kB / 0.5706 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.5306, allocations: 16.05 kB / 0.5706 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.5309, allocations: 118.5 kB / 0.5707 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5309, allocations: 4 kB / 0.5708 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5309, allocations: 0 / 0.5708 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.5309, allocations: 0 / 0.5708 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.5314, allocations: 379.5 kB / 0.5711 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5314, allocations: 0 / 0.5711 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.5315, allocations: 15.98 kB / 0.5711 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5315, allocations: 0 / 0.5711 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5315, allocations: 4 kB / 0.5711 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5315, allocations: 3.938 kB / 0.5711 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5315, allocations: 0 / 0.5711 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.5317, allocations: 187.4 kB / 0.5713 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.5318, allocations: 96.91 kB / 0.5714 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5318, allocations: 0 / 0.5714 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.5319, allocations: 12 kB / 0.5714 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.532, allocations: 15.86 kB / 0.5714 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.532, allocations: 0 / 0.5714 GB, free: 8.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.5321, allocations: 167.7 kB / 0.5716 GB, free: 7.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5322, allocations: 0 / 0.5716 GB, free: 7.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.5324, allocations: 27.94 kB / 0.5716 GB, free: 7.84 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009728/0.5334, allocations: 403.9 kB / 0.572 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.5336, allocations: 55.91 kB / 0.5721 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5336, allocations: 0 / 0.5721 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.5337, allocations: 27.98 kB / 0.5721 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.534, allocations: 18.23 kB / 0.5721 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.5346, allocations: 266.5 kB / 0.5724 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.5349, allocations: 0.7043 MB / 0.573 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.535, allocations: 15.98 kB / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.535, allocations: 15.42 kB / 0.5731 GB, free: 6.395 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.535, allocations: 0 / 0.5731 GB, free: 6.395 MB / 394.7 MB Notification: Performance of Templates: time 0.003759/0.5388, allocations: 1.164 MB / 0.5742 GB, free: 5.238 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches