Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009973/0.0009973, allocations: 198.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.5 MB / 244.1 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.0008541, allocations: 96.28 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3053/0.3053, allocations: 44.83 MB / 392.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3384, allocations: 62.96 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.4427, allocations: 89.49 MB / 0.6039 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4429, allocations: 79.95 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01286/0.4558, allocations: 5.248 MB / 0.6091 GB, free: 10.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4558, allocations: 0 / 0.6091 GB, free: 10.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4559, allocations: 4 kB / 0.6091 GB, free: 10.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004167/0.4563, allocations: 443.2 kB / 0.6095 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4563, allocations: 12.88 kB / 0.6095 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.4564, allocations: 20.69 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4566, allocations: 220.8 kB / 0.6097 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4566, allocations: 4.375 kB / 0.6097 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4567, allocations: 4.375 kB / 0.6097 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4568, allocations: 58.22 kB / 0.6098 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4568, allocations: 192 / 0.6098 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4568, allocations: 7.938 kB / 0.6098 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4568, allocations: 0 / 0.6098 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.4569, allocations: 31.98 kB / 0.6098 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.4573, allocations: 324.7 kB / 0.6101 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.4574, allocations: 46.56 kB / 0.6102 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.4575, allocations: 20.94 kB / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4575, allocations: 0 / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4576, allocations: 38.5 kB / 0.6102 GB, free: 9.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4576, allocations: 0 / 0.6102 GB, free: 9.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008327/0.4584, allocations: 274.4 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4584, allocations: 55.39 kB / 0.6106 GB, free: 8.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4587, allocations: 243.3 kB / 0.6108 GB, free: 8.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4587, allocations: 25.7 kB / 0.6108 GB, free: 8.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.4588, allocations: 120.1 kB / 0.6109 GB, free: 8.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.4588, allocations: 23.62 kB / 0.611 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.4588, allocations: 0 / 0.611 GB, free: 8.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4589, allocations: 334.8 kB / 0.6113 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.459, allocations: 35.91 kB / 0.6113 GB, free: 8.051 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.4591, allocations: 31.98 kB / 0.6113 GB, free: 8.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.4593, allocations: 92.97 kB / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4593, allocations: 0 / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.4595, allocations: 121.5 kB / 0.6115 GB, free: 7.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4595, allocations: 6.812 kB / 0.6115 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4595, allocations: 0 / 0.6115 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4595, allocations: 4 kB / 0.6116 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.4596, allocations: 19.98 kB / 0.6116 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4597, allocations: 0 / 0.6116 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.4597, allocations: 11.98 kB / 0.6116 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4597, allocations: 0 / 0.6116 GB, free: 7.762 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 (8): * Single equations (assignments): 8 * 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 9.792e-05/0.4598, allocations: 137.8 kB / 0.6117 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.4599, allocations: 11.81 kB / 0.6117 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.4601, allocations: 150.9 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4602, allocations: 4 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4602, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4602, allocations: 3.984 kB / 0.6119 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.4607, allocations: 455.1 kB / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4608, allocations: 0 / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.4608, allocations: 19.98 kB / 0.6123 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4608, allocations: 4 kB / 0.6123 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4609, allocations: 7.969 kB / 0.6123 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4609, allocations: 4 kB / 0.6123 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4609, allocations: 0 / 0.6123 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4611, allocations: 216.4 kB / 0.6126 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.4612, allocations: 104.9 kB / 0.6127 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.4612, allocations: 3.938 kB / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.4613, allocations: 15.98 kB / 0.6127 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4613, allocations: 7.984 kB / 0.6127 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4614, allocations: 0 / 0.6127 GB, free: 6.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4615, allocations: 191.8 kB / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4615, allocations: 0 / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.4618, allocations: 28 kB / 0.6129 GB, free: 6.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008632/0.4626, allocations: 465.6 kB / 0.6133 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4629, allocations: 83.95 kB / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4629, allocations: 0 / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.463, allocations: 47.91 kB / 0.6135 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4633, allocations: 19.22 kB / 0.6135 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.4637, allocations: 360.2 kB / 0.6138 GB, free: 5.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.464, allocations: 0.7218 MB / 0.6145 GB, free: 4.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4641, allocations: 19.42 kB / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4641, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of Templates: time 0.003163/0.4672, allocations: 1.973 MB / 0.6165 GB, free: 2.75 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches