Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002524/0.002524, allocations: 96.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003055/0.003055, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.94e-05, allocations: 6.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002558/0.002588, allocations: 1.572 MB / 348.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005883/0.003176, allocations: 315.4 kB / 348.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.003231, allocations: 3.938 kB / 348.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.003497, allocations: 23.91 kB / 348.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.003671, allocations: 35.78 kB / 348.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.00389, allocations: 75.72 kB / 349 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.004029, allocations: 55.83 kB / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004131, allocations: 19.92 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.004202, allocations: 23.92 kB / 349.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.004258, allocations: 11.98 kB / 349.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.004281, allocations: 4 kB / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.004356, allocations: 31.92 kB / 349.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.00441, allocations: 15.92 kB / 349.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.004443, allocations: 11.94 kB / 349.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.004602, allocations: 75.72 kB / 349.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.004606, allocations: 3.984 kB / 349.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004606, allocations: 0 / 349.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004611, allocations: 8 kB / 349.2 MB, free: 7.504 MB / 282.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.0004459/0.005057, allocations: 411.8 kB / 349.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005098, allocations: 12.03 kB / 349.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.005147, allocations: 8.891 kB / 349.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005306, allocations: 136.4 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005319, allocations: 4.375 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.00534, allocations: 384 / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005466, allocations: 46.25 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.005482, allocations: 4.141 kB / 349.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005494, allocations: 8.125 kB / 349.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005499, allocations: 0 / 349.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.005575, allocations: 15.98 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.005883, allocations: 279.8 kB / 350.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.006106, allocations: 51.05 kB / 350.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.006146, allocations: 15.77 kB / 350.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.006167, allocations: 7.938 kB / 350.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.006183, allocations: 33.39 kB / 350.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.006184, allocations: 0 / 350.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004975/0.006682, allocations: 129.4 kB / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.006707, allocations: 55.41 kB / 350.4 MB, free: 6.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.006826, allocations: 217 kB / 350.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.006834, allocations: 25.7 kB / 350.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.006879, allocations: 150.8 kB / 350.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.0069, allocations: 23.83 kB / 350.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.006933, allocations: 23.38 kB / 350.8 MB, free: 5.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.007019, allocations: 0.4962 MB / 351.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.00707, allocations: 15.94 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.00711, allocations: 15.98 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.007194, allocations: 43.67 kB / 351.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007195, allocations: 0 / 351.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001333/0.007328, allocations: 77.81 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.007342, allocations: 4 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007348, allocations: 8 kB / 351.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.007364, allocations: 0 / 351.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.007414, allocations: 12.28 kB / 351.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.007421, allocations: 3.938 kB / 351.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.00745, allocations: 4 kB / 351.5 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.007456, allocations: 7.984 kB / 351.5 MB, free: 4.992 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.007516, allocations: 160.6 kB / 351.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.007545, allocations: 15.83 kB / 351.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.007726, allocations: 82.12 kB / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007728, allocations: 0 / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.007732, allocations: 0 / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007736, allocations: 0 / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.008018, allocations: 349.3 kB / 352.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.008021, allocations: 7.984 kB / 352.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.008062, allocations: 12 kB / 352.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008064, allocations: 0 / 352.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.008074, allocations: 4 kB / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.008075, allocations: 0 / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008076, allocations: 0 / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.008253, allocations: 231.8 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.008265, allocations: 7.953 kB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.00828, allocations: 192 / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.008336, allocations: 4 kB / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.008377, allocations: 7.984 kB / 352.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.008381, allocations: 4 kB / 352.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.008445, allocations: 163.2 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008445, allocations: 0 / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.008667, allocations: 8 kB / 352.6 MB, free: 3.879 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002739/0.01141, allocations: 428.4 kB / 353 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.01158, allocations: 39.67 kB / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01158, allocations: 4 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.01164, allocations: 43.73 kB / 353.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01195, allocations: 24.98 kB / 353.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.01231, allocations: 178.6 kB / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.01238, allocations: 79.33 kB / 353.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01242, allocations: 11.97 kB / 353.4 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.01245, allocations: 12.5 kB / 353.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01245, allocations: 4 kB / 353.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Templates: time 0.004152/0.0166, allocations: 1.14 MB / 354.5 MB, free: 1.988 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.437586866086349]