Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 96.52 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000964/0.0009641, allocations: 174.8 kB / 16.56 MB, free: 6.375 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.25/1.25, allocations: 205.4 MB / 222.7 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3081/0.3081, allocations: 43.54 MB / 314.5 MB, free: 8.785 MB / 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.0004775/0.0004775, allocations: 15.98 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001698/0.1059, allocations: 1.257 MB / 444 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005099/0.1064, allocations: 283.9 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.1065, allocations: 0 / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1066, allocations: 19.88 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1068, allocations: 31.89 kB / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1071, allocations: 63.8 kB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1072, allocations: 31.95 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.1073, allocations: 15.98 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1073, allocations: 23.84 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1074, allocations: 11.94 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1074, allocations: 0 / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.1075, allocations: 23.92 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.1075, allocations: 11.94 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.1076, allocations: 33.69 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1077, allocations: 68.06 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1077, allocations: 4 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1077, allocations: 0 / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1077, allocations: 3.938 kB / 444.6 MB, free: 11.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004261/0.1081, allocations: 375 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1082, allocations: 12.02 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1082, allocations: 11.86 kB / 445 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1084, allocations: 179 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1084, allocations: 0 / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1084, allocations: 7.984 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1086, allocations: 49.69 kB / 445.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1086, allocations: 0 / 445.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1086, allocations: 7.953 kB / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1086, allocations: 0 / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.1087, allocations: 27.92 kB / 445.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1091, allocations: 276.9 kB / 445.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1093, allocations: 42.56 kB / 445.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1093, allocations: 0 / 445.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1093, allocations: 38.45 kB / 445.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1093, allocations: 0 / 445.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005355/0.1099, allocations: 153.4 kB / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1099, allocations: 55.34 kB / 445.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1101, allocations: 173.8 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1101, allocations: 25.7 kB / 446 MB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1102, allocations: 96.08 kB / 446.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1102, allocations: 27.64 kB / 446.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.1102, allocations: 0 / 446.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1103, allocations: 318.8 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.1104, allocations: 23.98 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.1105, allocations: 19.98 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.1105, allocations: 28.17 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1105, allocations: 0 / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1107, allocations: 97.81 kB / 446.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1107, allocations: 4 kB / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1108, allocations: 0 / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1108, allocations: 0 / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.1108, allocations: 19.92 kB / 446.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1109, allocations: 0 / 446.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.1109, allocations: 7.984 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1109, allocations: 11.92 kB / 446.7 MB, free: 8.93 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 (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.646e-05/0.111, allocations: 117.8 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1111, allocations: 11.86 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.1113, allocations: 97.97 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1113, allocations: 0 / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1113, allocations: 4 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1113, allocations: 3.984 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1117, allocations: 350.5 kB / 447.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1117, allocations: 0 / 447.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.1118, allocations: 16 kB / 447.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1118, allocations: 7.984 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1118, allocations: 4 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1118, allocations: 0 / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1118, allocations: 0 / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1121, allocations: 195.5 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1121, allocations: 85 kB / 447.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1121, allocations: 4 kB / 447.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1122, allocations: 4 kB / 447.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.1122, allocations: 3.984 kB / 447.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1123, allocations: 8 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.1124, allocations: 130.6 kB / 447.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1124, allocations: 0 / 447.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1126, allocations: 16 kB / 447.7 MB, free: 7.789 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 (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.0008251/0.1134, allocations: 398.4 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1136, allocations: 55.91 kB / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1137, allocations: 0 / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1137, allocations: 31.98 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.114, allocations: 15.94 kB / 448.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1144, allocations: 197.5 kB / 448.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1146, allocations: 0.7043 MB / 449.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.1147, allocations: 11.97 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1147, allocations: 11.44 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1147, allocations: 0 / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of Templates: time 0.003206/0.118, allocations: 1.006 MB / 450.1 MB, free: 5.344 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches