Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 193.5 kB / 16.79 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008087/0.0008086, allocations: 97.25 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3014/0.3014, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002566, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3029, allocations: 62.96 MB / 0.5165 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4146, allocations: 89.57 MB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4149, allocations: 75.95 kB / 0.604 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4283, allocations: 5.464 MB / 0.6094 GB, free: 10.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4283, allocations: 0 / 0.6094 GB, free: 10.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4283, allocations: 4 kB / 0.6094 GB, free: 10.28 MB / 426.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.0004109/0.4287, allocations: 403.5 kB / 0.6097 GB, free: 9.832 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4288, allocations: 11.97 kB / 0.6098 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.4288, allocations: 4.938 kB / 0.6098 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4291, allocations: 200 kB / 0.61 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4291, allocations: 4.375 kB / 0.61 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.4291, allocations: 4.375 kB / 0.61 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4292, allocations: 63.95 kB / 0.61 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4293, allocations: 192 / 0.61 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4293, allocations: 7.938 kB / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4293, allocations: 0 / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.4294, allocations: 27.92 kB / 0.6101 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.4297, allocations: 273 kB / 0.6103 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.4299, allocations: 54.47 kB / 0.6104 GB, free: 9.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.43, allocations: 20.86 kB / 0.6104 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.43, allocations: 3.984 kB / 0.6104 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.43, allocations: 34.5 kB / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.43, allocations: 0 / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005242/0.4306, allocations: 153.4 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4306, allocations: 85.03 kB / 0.6107 GB, free: 8.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4308, allocations: 141.8 kB / 0.6108 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4308, allocations: 29.7 kB / 0.6108 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.4309, allocations: 92.05 kB / 0.6109 GB, free: 8.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4309, allocations: 23.73 kB / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4309, allocations: 3.938 kB / 0.6109 GB, free: 8.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.431, allocations: 324 kB / 0.6112 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.4311, allocations: 19.98 kB / 0.6113 GB, free: 8.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.4312, allocations: 37.69 kB / 0.6113 GB, free: 8.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4313, allocations: 52.88 kB / 0.6113 GB, free: 8.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4313, allocations: 0 / 0.6113 GB, free: 8.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.4315, allocations: 97.52 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4315, allocations: 7.984 kB / 0.6114 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4315, allocations: 0 / 0.6114 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4316, allocations: 0 / 0.6114 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.4316, allocations: 12 kB / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4316, allocations: 0 / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.4317, allocations: 7.984 kB / 0.6115 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4317, allocations: 8.188 kB / 0.6115 GB, free: 7.875 MB / 426.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 7.747e-05/0.4318, allocations: 121.8 kB / 0.6116 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.4318, allocations: 7.906 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.4321, allocations: 105.9 kB / 0.6117 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4321, allocations: 0 / 0.6117 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4321, allocations: 0 / 0.6117 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4321, allocations: 8 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.4325, allocations: 354.5 kB / 0.612 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4325, allocations: 0 / 0.612 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.4326, allocations: 12 kB / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4326, allocations: 7.984 kB / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4326, allocations: 4 kB / 0.6121 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4326, allocations: 0 / 0.6121 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4326, allocations: 7.875 kB / 0.6121 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.4328, allocations: 179.4 kB / 0.6122 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.4329, allocations: 93 kB / 0.6123 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4329, allocations: 4 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.433, allocations: 4 kB / 0.6123 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.433, allocations: 11.92 kB / 0.6124 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4331, allocations: 0 / 0.6124 GB, free: 6.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.4332, allocations: 113.8 kB / 0.6125 GB, free: 6.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4332, allocations: 4 kB / 0.6125 GB, free: 6.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.4335, allocations: 51.88 kB / 0.6125 GB, free: 6.703 MB / 426.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.001052/0.4345, allocations: 0.4967 MB / 0.613 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.4347, allocations: 51.91 kB / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4348, allocations: 4 kB / 0.6131 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.4348, allocations: 27.98 kB / 0.6131 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4351, allocations: 15.98 kB / 0.6131 GB, free: 6.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.4355, allocations: 209.9 kB / 0.6133 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4357, allocations: 0.6887 MB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.4358, allocations: 19.44 kB / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4358, allocations: 0 / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of Templates: time 0.003237/0.4391, allocations: 1.916 MB / 0.6159 GB, free: 3.383 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches