Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001969/0.001969, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.42/1.42, allocations: 222.9 MB / 243 MB, free: 15.16 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.2138/0.2138, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 74.23 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002871/0.1178, allocations: 1.556 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1192, allocations: 1.004 MB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1193, allocations: 15.88 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1195, allocations: 23.91 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1197, allocations: 43.77 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.12, allocations: 83.09 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1201, allocations: 59.83 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.1202, allocations: 15.98 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.1203, allocations: 19.92 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1204, allocations: 35.78 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1205, allocations: 0 / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.1206, allocations: 51.98 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1206, allocations: 11.92 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1207, allocations: 19.86 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1209, allocations: 87.78 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1209, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1209, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1209, allocations: 0 / 473.7 MB, free: 10.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004826/0.1214, allocations: 379.2 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1215, allocations: 16.03 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1215, allocations: 4.844 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1218, allocations: 188.2 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1218, allocations: 8.359 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1218, allocations: 4.375 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.122, allocations: 63.47 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.122, allocations: 0 / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.122, allocations: 0 / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.122, allocations: 8 kB / 474.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.1221, allocations: 23.92 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1224, allocations: 272.9 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1227, allocations: 38.56 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.1227, allocations: 20.94 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1228, allocations: 4 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1228, allocations: 34.5 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1228, allocations: 0 / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005346/0.1233, allocations: 137.5 kB / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1234, allocations: 85.05 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1235, allocations: 133.8 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1236, allocations: 33.7 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1236, allocations: 92.12 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1237, allocations: 19.75 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1237, allocations: 13.72 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1238, allocations: 322.8 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.1239, allocations: 19.98 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.124, allocations: 37.64 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1241, allocations: 48.83 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1241, allocations: 0 / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.1243, allocations: 81.52 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1243, allocations: 7.281 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1243, allocations: 0 / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1243, allocations: 0 / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.1244, allocations: 20.02 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1244, allocations: 0 / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.1245, allocations: 4 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1245, allocations: 0 / 475.8 MB, free: 8.316 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 (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 8.601e-05/0.1246, allocations: 121.8 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1246, allocations: 7.906 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1248, allocations: 89.56 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1248, allocations: 8 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1248, allocations: 4.25 kB / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1249, allocations: 0 / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.1252, allocations: 338.5 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1253, allocations: 0 / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.1253, allocations: 15.98 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1253, allocations: 0 / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1253, allocations: 4 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1253, allocations: 7.938 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1254, allocations: 3.938 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1256, allocations: 175.4 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1256, allocations: 81.11 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1256, allocations: 0 / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1257, allocations: 7.938 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1257, allocations: 7.984 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1258, allocations: 4 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.978e-05/0.1258, allocations: 102.1 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1258, allocations: 0 / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1261, allocations: 31.89 kB / 476.8 MB, free: 7.223 MB / 350.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 (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.001084/0.1272, allocations: 450.4 kB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1274, allocations: 47.91 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1274, allocations: 0 / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.1275, allocations: 23.98 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1278, allocations: 22.42 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.1282, allocations: 157.5 kB / 477.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1285, allocations: 0.6846 MB / 478.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1286, allocations: 19.91 kB / 478.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1286, allocations: 11.44 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1286, allocations: 0 / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004048/0.1327, allocations: 1.351 MB / 479.5 MB, free: 4.594 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches