Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001086, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001046/0.001046, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.34/1.34, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.2052/0.2052, allocations: 44.16 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.09 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002706/0.1121, allocations: 1.617 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1134, allocations: 0.9959 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1135, allocations: 7.938 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1136, allocations: 15.92 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.1138, allocations: 39.84 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.114, allocations: 67.86 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1141, allocations: 55.89 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.1142, allocations: 11.98 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.1142, allocations: 19.81 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1144, allocations: 31.89 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1144, allocations: 4 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.1145, allocations: 43.98 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1145, allocations: 7.938 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.1146, allocations: 23.86 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1147, allocations: 59.91 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1147, allocations: 8 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1147, allocations: 3.938 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1147, allocations: 0 / 472.2 MB, free: 11.79 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.0003686/0.1151, allocations: 383.5 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1151, allocations: 8.031 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1152, allocations: 8.844 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1153, allocations: 192.2 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-06/0.1153, allocations: 384 / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.1154, allocations: 384 / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1155, allocations: 67.52 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1155, allocations: 4 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1155, allocations: 4 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1155, allocations: 3.938 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.1156, allocations: 23.97 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1159, allocations: 264.9 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1161, allocations: 46.55 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.1161, allocations: 20.8 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1162, allocations: 0 / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1162, allocations: 34.56 kB / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1162, allocations: 0 / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000477/0.1167, allocations: 137.4 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1167, allocations: 85.09 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1169, allocations: 132.1 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1169, allocations: 29.64 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1169, allocations: 96.12 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.117, allocations: 11.75 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.117, allocations: 21.7 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.1171, allocations: 322.8 kB / 474 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1172, allocations: 15.98 kB / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.1173, allocations: 41.64 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1174, allocations: 40.83 kB / 474.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1174, allocations: 0 / 474.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.1176, allocations: 85.52 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1176, allocations: 4 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.1176, allocations: 4.031 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1176, allocations: 4 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.1177, allocations: 12.23 kB / 474.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1177, allocations: 3.984 kB / 474.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.1177, allocations: 11.98 kB / 474.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1178, allocations: 0 / 474.3 MB, free: 9.473 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 7.15e-05/0.1178, allocations: 118.3 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1179, allocations: 7.906 kB / 474.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.1181, allocations: 93.56 kB / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1181, allocations: 0 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1181, allocations: 0 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1181, allocations: 0 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1185, allocations: 346.5 kB / 474.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1185, allocations: 0 / 474.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.1186, allocations: 15.94 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1186, allocations: 0 / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1186, allocations: 7.984 kB / 474.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1186, allocations: 3.938 kB / 474.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1186, allocations: 0 / 474.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1188, allocations: 171.4 kB / 475 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.1189, allocations: 77.11 kB / 475.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1189, allocations: 4 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.119, allocations: 15.92 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.119, allocations: 4 kB / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.119, allocations: 3.938 kB / 475.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.1191, allocations: 107.2 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1191, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1194, allocations: 27.91 kB / 475.2 MB, free: 8.383 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.0009514/0.1203, allocations: 447.7 kB / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1205, allocations: 43.97 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1205, allocations: 0 / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.1206, allocations: 23.98 kB / 475.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1209, allocations: 25.75 kB / 475.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1213, allocations: 201.1 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1215, allocations: 0.6887 MB / 476.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1216, allocations: 15.44 kB / 476.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1216, allocations: 0 / 476.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Templates: time 0.003141/0.1248, allocations: 1.552 MB / 478.2 MB, free: 5.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches