Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001093/0.001093, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1891/0.1891, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.56 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09699, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002872/0.0999, allocations: 1.596 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.1007, allocations: 435.1 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.1008, allocations: 0 / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.101, allocations: 95.73 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1013, allocations: 71.73 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1016, allocations: 115.7 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1018, allocations: 87.86 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1019, allocations: 31.92 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.102, allocations: 39.89 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1021, allocations: 59.83 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1021, allocations: 4 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.1022, allocations: 55.91 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1023, allocations: 23.86 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1023, allocations: 39.73 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1026, allocations: 131.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1026, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1026, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1026, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004458/0.103, allocations: 430.9 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1031, allocations: 8.031 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1031, allocations: 16.75 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1033, allocations: 208 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1033, allocations: 4.375 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1034, allocations: 8.375 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1035, allocations: 80.53 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1036, allocations: 0 / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1036, allocations: 3.984 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1036, allocations: 4 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1037, allocations: 47.91 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1041, allocations: 340.6 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1043, allocations: 70.48 kB / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.1043, allocations: 28.84 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1043, allocations: 4 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1044, allocations: 30.56 kB / 474.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1044, allocations: 0 / 474.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009575/0.1053, allocations: 341.4 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1054, allocations: 51.41 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1056, allocations: 231.5 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1056, allocations: 29.7 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1057, allocations: 116 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1057, allocations: 35.45 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1058, allocations: 29.66 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.1059, allocations: 322.8 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.106, allocations: 51.91 kB / 475.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.106, allocations: 47.97 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1062, allocations: 108.8 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1062, allocations: 0 / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000253/0.1065, allocations: 156 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1065, allocations: 4 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1065, allocations: 4 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1066, allocations: 3.938 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1067, allocations: 31.92 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1067, allocations: 4 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1067, allocations: 0 / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1067, allocations: 7.984 kB / 476.3 MB, free: 7.832 MB / 350.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 (13): * Single equations (assignments): 13 * 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 9.635e-05/0.1068, allocations: 141.8 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.1069, allocations: 11.81 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.1072, allocations: 191 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1072, allocations: 0 / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1072, allocations: 0 / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1072, allocations: 0 / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.1078, allocations: 0.4912 MB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1078, allocations: 4 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.1079, allocations: 32.02 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1079, allocations: 0 / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1079, allocations: 4 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1079, allocations: 3.938 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1079, allocations: 0 / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1082, allocations: 256.1 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1083, allocations: 89 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1083, allocations: 8 kB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1084, allocations: 4 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1084, allocations: 7.984 kB / 477.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1084, allocations: 8 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1085, allocations: 172.2 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1085, allocations: 0 / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1088, allocations: 32 kB / 477.7 MB, free: 6.289 MB / 350.1 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 (13): * Single equations (assignments): 13 * 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.0009329/0.1097, allocations: 469.7 kB / 478.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.11, allocations: 115.9 kB / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.11, allocations: 0 / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1101, allocations: 59.91 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1104, allocations: 23.48 kB / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.1109, allocations: 319.6 kB / 478.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1112, allocations: 0.7236 MB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.1113, allocations: 28.53 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1113, allocations: 15.44 kB / 479.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1113, allocations: 0 / 479.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of Templates: time 0.007658/0.119, allocations: 1.59 MB / 481 MB, free: 3.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches