Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009802/0.0009803, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.243/1.243, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007694/0.0007694, allocations: 93.91 kB / 271.9 MB, free: 8.258 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.2877/0.2877, allocations: 43.56 MB / 363.8 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 12 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.4078, allocations: 86.42 MB / 0.5643 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.408, allocations: 79.95 kB / 0.5644 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009001/0.417, allocations: 3.836 MB / 0.5681 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4171, allocations: 4 kB / 0.5681 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4171, allocations: 4 kB / 0.5681 GB, free: 12.11 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.0003872/0.4175, allocations: 398.7 kB / 0.5685 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4175, allocations: 8.031 kB / 0.5685 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.4176, allocations: 16.75 kB / 0.5686 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4178, allocations: 204 kB / 0.5687 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.4178, allocations: 384 / 0.5687 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4178, allocations: 8.359 kB / 0.5688 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4179, allocations: 51.12 kB / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.418, allocations: 192 / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.418, allocations: 7.938 kB / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.418, allocations: 0 / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.4181, allocations: 23.98 kB / 0.5688 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.4184, allocations: 280.9 kB / 0.5691 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4186, allocations: 46.5 kB / 0.5691 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.4186, allocations: 24.94 kB / 0.5692 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4187, allocations: 0 / 0.5692 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4187, allocations: 34.56 kB / 0.5692 GB, free: 10.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.4187, allocations: 4 kB / 0.5692 GB, free: 10.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004978/0.4192, allocations: 161.7 kB / 0.5694 GB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4192, allocations: 55.41 kB / 0.5694 GB, free: 10.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4194, allocations: 183.2 kB / 0.5696 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.4194, allocations: 29.7 kB / 0.5696 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.4195, allocations: 100.1 kB / 0.5697 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.4195, allocations: 22.94 kB / 0.5697 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.4195, allocations: 0 / 0.5697 GB, free: 10.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.4196, allocations: 326.8 kB / 0.57 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.4197, allocations: 27.92 kB / 0.5701 GB, free: 9.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.4198, allocations: 23.98 kB / 0.5701 GB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.4199, allocations: 48.83 kB / 0.5701 GB, free: 9.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4199, allocations: 4 kB / 0.5701 GB, free: 9.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001656/0.4201, allocations: 93.56 kB / 0.5702 GB, free: 9.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4201, allocations: 4 kB / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4201, allocations: 0 / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.4201, allocations: 4 kB / 0.5702 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.4202, allocations: 15.98 kB / 0.5703 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.4202, allocations: 7.938 kB / 0.5703 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.4202, allocations: 7.984 kB / 0.5703 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4202, allocations: 0 / 0.5703 GB, free: 9.715 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 7.607e-05/0.4203, allocations: 129.8 kB / 0.5704 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4204, allocations: 15.81 kB / 0.5704 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.4206, allocations: 102 kB / 0.5705 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4206, allocations: 3.984 kB / 0.5705 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.4206, allocations: 0 / 0.5705 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4206, allocations: 0 / 0.5705 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.421, allocations: 370.4 kB / 0.5709 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.421, allocations: 384 / 0.5709 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.4211, allocations: 15.98 kB / 0.5709 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4211, allocations: 4 kB / 0.5709 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4211, allocations: 0 / 0.5709 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.4211, allocations: 4 kB / 0.5709 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4211, allocations: 0 / 0.5709 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.4213, allocations: 191.3 kB / 0.5711 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.4214, allocations: 93 kB / 0.5712 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4214, allocations: 0 / 0.5712 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.4215, allocations: 8 kB / 0.5712 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.4215, allocations: 7.922 kB / 0.5712 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4216, allocations: 8 kB / 0.5712 GB, free: 8.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.4217, allocations: 149.1 kB / 0.5713 GB, free: 8.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4217, allocations: 3.938 kB / 0.5713 GB, free: 8.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000225/0.4219, allocations: 20 kB / 0.5713 GB, free: 8.512 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.0007647/0.4227, allocations: 403.6 kB / 0.5717 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4229, allocations: 59.91 kB / 0.5718 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4229, allocations: 0 / 0.5718 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.423, allocations: 27.98 kB / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4232, allocations: 17.2 kB / 0.5718 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.4237, allocations: 256.9 kB / 0.5721 GB, free: 7.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.424, allocations: 0.7004 MB / 0.5728 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.424, allocations: 15.44 kB / 0.5728 GB, free: 7.09 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.424, allocations: 0 / 0.5728 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Templates: time 0.002702/0.4267, allocations: 1.501 MB / 0.5742 GB, free: 5.594 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches