Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 117.7 kB / 17.08 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 197.2 kB / 18.02 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.189/0.189, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 73.41 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09259, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002535/0.09516, allocations: 1.567 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005565/0.09574, allocations: 319.6 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.0958, allocations: 4 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.09606, allocations: 95.73 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.09624, allocations: 75.72 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.09647, allocations: 71.78 kB / 0.4906 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.09662, allocations: 87.75 kB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.09672, allocations: 20.16 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.09678, allocations: 31.91 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.09689, allocations: 59.81 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.09691, allocations: 4 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.09699, allocations: 24 kB / 0.4908 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.09704, allocations: 23.91 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.09709, allocations: 43.73 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.09726, allocations: 107.6 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09727, allocations: 0 / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09728, allocations: 0 / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.09729, allocations: 0 / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004253/0.09772, allocations: 406.9 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.09775, allocations: 15.89 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.0978, allocations: 12.75 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.09796, allocations: 196.1 kB / 0.4916 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.09798, allocations: 12.38 kB / 0.4916 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.098, allocations: 4.312 kB / 0.4916 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.09814, allocations: 61.61 kB / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.09816, allocations: 0 / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.09817, allocations: 0 / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.09818, allocations: 3.938 kB / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.09829, allocations: 43.94 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.09863, allocations: 300.7 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.09874, allocations: 54.5 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.09879, allocations: 20.97 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.09882, allocations: 0 / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.09885, allocations: 30.56 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.09885, allocations: 0 / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005606/0.09942, allocations: 193 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.09946, allocations: 51.41 kB / 0.4923 GB, free: 7.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.09965, allocations: 239.5 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.09968, allocations: 25.7 kB / 0.4926 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.09974, allocations: 104.2 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.09977, allocations: 31.55 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.09981, allocations: 25.7 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.09991, allocations: 330.8 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.09999, allocations: 19.98 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.1001, allocations: 27.92 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1002, allocations: 56.83 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1002, allocations: 384 / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001907/0.1004, allocations: 101.5 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1004, allocations: 7.984 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1004, allocations: 0 / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1005, allocations: 4 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.1006, allocations: 20 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1006, allocations: 7.922 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1006, allocations: 11.92 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1006, allocations: 4 kB / 0.4933 GB, free: 6.648 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.1007, allocations: 137.8 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1008, allocations: 11.81 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.101, allocations: 119 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.101, allocations: 0 / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.101, allocations: 0 / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.101, allocations: 3.938 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1015, allocations: 402.8 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1015, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.1016, allocations: 15.98 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1016, allocations: 3.938 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1016, allocations: 4 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1016, allocations: 0 / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1016, allocations: 0 / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1018, allocations: 211.3 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1019, allocations: 85.02 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1019, allocations: 3.938 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.102, allocations: 4 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.102, allocations: 3.984 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.102, allocations: 4 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1021, allocations: 175.2 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1021, allocations: 0 / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1024, allocations: 20 kB / 0.4945 GB, free: 5.355 MB / 382.1 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 (8): * Single equations (assignments): 8 * 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.0008326/0.1032, allocations: 412 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1034, allocations: 63.89 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1034, allocations: 0 / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.1035, allocations: 35.97 kB / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1039, allocations: 27.8 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.1043, allocations: 291.6 kB / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1046, allocations: 0.7119 MB / 0.496 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.1046, allocations: 15.44 kB / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1046, allocations: 0 / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.003166/0.1078, allocations: 1.683 MB / 0.4976 GB, free: 2.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches