Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test21,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.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_3.2.3_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.000799/0.000799, allocations: 96.91 kB / 15.69 MB, free: 480 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.0009896/0.0009897, allocations: 175.6 kB / 16.57 MB, free: 6.387 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.327/1.327, allocations: 205.4 MB / 222.7 MB, free: 5.891 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.3044/0.3044, allocations: 43.54 MB / 314.5 MB, free: 8.645 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.0004799/0.0004799, allocations: 16 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001817/0.1054, allocations: 1.257 MB / 444 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1068, allocations: 0.8674 MB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.1068, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1071, allocations: 19.92 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1072, allocations: 35.83 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.1075, allocations: 63.86 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1076, allocations: 35.95 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.1077, allocations: 7.984 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.1077, allocations: 27.84 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.1078, allocations: 7.938 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1079, allocations: 4 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.1079, allocations: 35.92 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.108, allocations: 19.91 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.108, allocations: 33.7 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1082, allocations: 64.12 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1082, allocations: 0 / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1082, allocations: 0 / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1082, allocations: 0 / 445.2 MB, free: 10.6 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.0003925/0.1086, allocations: 371.1 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1086, allocations: 16 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1087, allocations: 11.86 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1089, allocations: 191 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.1089, allocations: 4 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1089, allocations: 4 kB / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.109, allocations: 63.38 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1091, allocations: 3.906 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1091, allocations: 4 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1091, allocations: 4 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.1092, allocations: 39.81 kB / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1095, allocations: 265 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1097, allocations: 42.56 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1097, allocations: 4 kB / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1097, allocations: 34.5 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1097, allocations: 0 / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.1102, allocations: 149.5 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1103, allocations: 85.05 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1104, allocations: 133.8 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1105, allocations: 25.7 kB / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1105, allocations: 104 kB / 446.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1105, allocations: 7.812 kB / 446.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1105, allocations: 8 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1107, allocations: 322.8 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.1107, allocations: 23.98 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.1108, allocations: 33.7 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.1109, allocations: 24.02 kB / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1109, allocations: 0 / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.1111, allocations: 89.58 kB / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1111, allocations: 4 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1111, allocations: 3.953 kB / 447.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1111, allocations: 4 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.1112, allocations: 19.92 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1112, allocations: 0 / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1112, allocations: 8 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1113, allocations: 0 / 447.3 MB, free: 8.305 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 8.109e-05/0.1113, allocations: 117.8 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1114, allocations: 4 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.1116, allocations: 109.8 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1116, allocations: 3.953 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1116, allocations: 0 / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1116, allocations: 0 / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.112, allocations: 350.5 kB / 447.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.112, allocations: 0 / 447.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1121, allocations: 15.98 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1121, allocations: 3.953 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1121, allocations: 0 / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1121, allocations: 0 / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1121, allocations: 0 / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1123, allocations: 187.5 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1124, allocations: 89.02 kB / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1124, allocations: 3.953 kB / 448.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1125, allocations: 15.92 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1125, allocations: 4 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1125, allocations: 0 / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.1126, allocations: 107.2 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1126, allocations: 0 / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1129, allocations: 20 kB / 448.3 MB, free: 7.191 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.0008534/0.1137, allocations: 442.7 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1139, allocations: 55.91 kB / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1139, allocations: 0 / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.114, allocations: 31.98 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1142, allocations: 15.98 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1145, allocations: 164.8 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1148, allocations: 0.6965 MB / 449.7 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.022e-05/0.1148, allocations: 12.23 kB / 449.7 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1149, allocations: 11.44 kB / 449.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1149, allocations: 3.938 kB / 449.7 MB, free: 5.746 MB / 382.1 MB Notification: Performance of Templates: time 0.003188/0.1181, allocations: 1.271 MB / 451 MB, free: 4.473 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches