Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008149/0.0008149, allocations: 99.94 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.3663/0.3663, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002797, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3053, allocations: 62.95 MB / 0.5165 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.4088, allocations: 89.39 MB / 0.6038 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.409, allocations: 75.97 kB / 0.6038 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.4206, allocations: 4.528 MB / 0.6083 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4206, allocations: 4 kB / 0.6083 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4206, allocations: 7.922 kB / 0.6083 GB, free: 11.38 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.0003961/0.421, allocations: 403.5 kB / 0.6087 GB, free: 10.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4211, allocations: 8.031 kB / 0.6087 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.4211, allocations: 12.83 kB / 0.6087 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4213, allocations: 206.5 kB / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4214, allocations: 384 / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4214, allocations: 8.375 kB / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.4215, allocations: 50.25 kB / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4215, allocations: 4.172 kB / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4216, allocations: 7.875 kB / 0.6089 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4216, allocations: 0 / 0.6089 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.4217, allocations: 31.97 kB / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.422, allocations: 280.9 kB / 0.6092 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4222, allocations: 54.48 kB / 0.6093 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.4223, allocations: 12.86 kB / 0.6093 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4223, allocations: 0 / 0.6093 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4223, allocations: 42.56 kB / 0.6093 GB, free: 10.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.4223, allocations: 0 / 0.6093 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005047/0.4228, allocations: 161.4 kB / 0.6095 GB, free: 9.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4229, allocations: 55.41 kB / 0.6096 GB, free: 9.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.423, allocations: 148.2 kB / 0.6097 GB, free: 9.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.423, allocations: 25.7 kB / 0.6097 GB, free: 9.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.4231, allocations: 100.1 kB / 0.6098 GB, free: 9.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.4231, allocations: 15.8 kB / 0.6098 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.4231, allocations: 0 / 0.6098 GB, free: 9.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.4232, allocations: 322.8 kB / 0.6101 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.4233, allocations: 31.91 kB / 0.6102 GB, free: 9.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.4233, allocations: 24.05 kB / 0.6102 GB, free: 9.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4235, allocations: 64.95 kB / 0.6103 GB, free: 9.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4235, allocations: 4 kB / 0.6103 GB, free: 9.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001756/0.4237, allocations: 89.58 kB / 0.6103 GB, free: 9.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.4237, allocations: 4 kB / 0.6103 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4237, allocations: 3.984 kB / 0.6103 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4237, allocations: 4 kB / 0.6104 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.4238, allocations: 15.94 kB / 0.6104 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4238, allocations: 4 kB / 0.6104 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.4239, allocations: 7.984 kB / 0.6104 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.4239, allocations: 0 / 0.6104 GB, free: 8.996 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 6.944e-05/0.424, allocations: 117.8 kB / 0.6105 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.424, allocations: 7.906 kB / 0.6105 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4242, allocations: 113.9 kB / 0.6106 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4242, allocations: 0 / 0.6106 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4242, allocations: 3.938 kB / 0.6106 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4243, allocations: 0 / 0.6106 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.4246, allocations: 383.5 kB / 0.611 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4247, allocations: 0 / 0.611 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.4247, allocations: 15.98 kB / 0.611 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4247, allocations: 0 / 0.611 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.4247, allocations: 0 / 0.611 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4247, allocations: 0 / 0.611 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4247, allocations: 0 / 0.611 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.425, allocations: 203.5 kB / 0.6112 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.425, allocations: 85.02 kB / 0.6113 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.425, allocations: 4 kB / 0.6113 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.4251, allocations: 7.984 kB / 0.6113 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.4251, allocations: 11.94 kB / 0.6113 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.4252, allocations: 0 / 0.6113 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.4252, allocations: 117 kB / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4252, allocations: 0 / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.4255, allocations: 19.94 kB / 0.6114 GB, free: 7.828 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.0007751/0.4262, allocations: 401.9 kB / 0.6118 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4264, allocations: 71.89 kB / 0.6119 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4265, allocations: 0 / 0.6119 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.4265, allocations: 27.98 kB / 0.6119 GB, free: 7.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.4268, allocations: 11.98 kB / 0.6119 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4272, allocations: 223 kB / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.4274, allocations: 0.6926 MB / 0.6128 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.4274, allocations: 15.44 kB / 0.6128 GB, free: 6.469 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4274, allocations: 0 / 0.6128 GB, free: 6.469 MB / 426.7 MB Notification: Performance of Templates: time 0.002594/0.43, allocations: 1.457 MB / 0.6142 GB, free: 5.012 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches