Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 103.3 kB / 16.02 MB, free: 76 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.001043/0.001044, allocations: 185.5 kB / 16.92 MB, free: 6.914 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.978/1.978, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.3861/0.3861, allocations: 43.58 MB / 315 MB, free: 8.953 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.0005129/0.0005129, allocations: 16 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 58.88 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002288/0.1066, allocations: 1.286 MB / 444.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.1074, allocations: 323.6 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.1075, allocations: 4 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.108, allocations: 451.2 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.1084, allocations: 235.6 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1089, allocations: 151.7 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.1093, allocations: 159.6 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1094, allocations: 20.11 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1097, allocations: 99.8 kB / 446.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.11, allocations: 199.6 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1101, allocations: 4 kB / 446.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1102, allocations: 23.98 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1103, allocations: 87.67 kB / 446.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1105, allocations: 116.8 kB / 446.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.1109, allocations: 235.2 kB / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1109, allocations: 0 / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1109, allocations: 0 / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.111, allocations: 0 / 446.8 MB, free: 9.535 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.00102/0.112, allocations: 0.5949 MB / 447.4 MB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.1121, allocations: 12.03 kB / 447.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/0.1122, allocations: 36.47 kB / 447.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1126, allocations: 300.1 kB / 447.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1126, allocations: 4.375 kB / 447.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1127, allocations: 384 / 447.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1129, allocations: 65.61 kB / 447.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1129, allocations: 0 / 447.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1129, allocations: 3.938 kB / 447.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.113, allocations: 0 / 447.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1131, allocations: 43.97 kB / 447.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.1139, allocations: 392.8 kB / 448.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.114, allocations: 46.55 kB / 448.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.1141, allocations: 32.94 kB / 448.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1142, allocations: 3.938 kB / 448.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1142, allocations: 30.56 kB / 448.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1142, allocations: 0 / 448.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004448/0.1147, allocations: 145.1 kB / 448.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1147, allocations: 51.41 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.1156, allocations: 0.8496 MB / 449.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1157, allocations: 29.7 kB / 449.4 MB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1158, allocations: 208.1 kB / 449.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1158, allocations: 15.81 kB / 449.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.1159, allocations: 9.719 kB / 449.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.116, allocations: 362.7 kB / 450 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.1161, allocations: 23.98 kB / 450 MB, free: 6.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.1162, allocations: 28.09 kB / 450.1 MB, free: 6.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1163, allocations: 60.91 kB / 450.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1163, allocations: 0 / 450.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002045/0.1165, allocations: 109.2 kB / 450.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1165, allocations: 4 kB / 450.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1166, allocations: 11.92 kB / 450.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1166, allocations: 0 / 450.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1167, allocations: 15.94 kB / 450.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1167, allocations: 0 / 450.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.1167, allocations: 11.92 kB / 450.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1168, allocations: 4 kB / 450.3 MB, free: 5.844 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 (3): * Single equations (assignments): 3 * 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 0.0002195/0.117, allocations: 217.6 kB / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1171, allocations: 39.44 kB / 450.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1174, allocations: 137 kB / 450.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1174, allocations: 0 / 450.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1174, allocations: 0 / 450.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1174, allocations: 4 kB / 450.7 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.1178, allocations: 289.5 kB / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1178, allocations: 0 / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.1178, allocations: 19.98 kB / 451 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1178, allocations: 0 / 451 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1179, allocations: 4 kB / 451 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1179, allocations: 0 / 451 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1179, allocations: 0 / 451 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1182, allocations: 218.9 kB / 451.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1183, allocations: 108.5 kB / 451.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1183, allocations: 7.984 kB / 451.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.1184, allocations: 8 kB / 451.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.1185, allocations: 0 / 451.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1185, allocations: 0 / 451.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007182/0.1192, allocations: 0.6511 MB / 452 MB, free: 4.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1192, allocations: 0 / 452 MB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1195, allocations: 20 kB / 452 MB, free: 4.039 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 (3): * Single equations (assignments): 3 * 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.0008963/0.1204, allocations: 350.9 kB / 452.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1206, allocations: 59.89 kB / 452.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1206, allocations: 0 / 452.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.1207, allocations: 23.98 kB / 452.4 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1211, allocations: 21.95 kB / 452.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1224, allocations: 0.8568 MB / 453.3 MB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1229, allocations: 0.8223 MB / 454.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.1229, allocations: 15.97 kB / 454.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.123, allocations: 15.38 kB / 454.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.123, allocations: 0 / 454.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of Templates: time 0.004973/0.128, allocations: 1.198 MB / 455.3 MB, free: 0.6445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches