Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 109.3 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.001247/0.001247, allocations: 184.1 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.453/1.453, 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 69.2 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003173/0.1116, allocations: 1.568 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.1124, allocations: 415.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.1125, allocations: 4 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1127, allocations: 75.7 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.113, allocations: 63.8 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1133, allocations: 111.6 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1135, allocations: 75.86 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1136, allocations: 16.19 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.1137, allocations: 39.83 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1138, allocations: 47.89 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1139, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.114, allocations: 51.91 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.114, allocations: 19.92 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.1141, allocations: 27.75 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1142, allocations: 99.7 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1142, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1143, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1143, allocations: 0 / 473.3 MB, free: 11.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004476/0.1147, allocations: 407 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1148, allocations: 8.031 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1148, allocations: 12.84 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.115, allocations: 196 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.115, allocations: 4.375 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.115, allocations: 12.3 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1152, allocations: 57.62 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1152, allocations: 3.906 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1152, allocations: 7.984 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1152, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.1153, allocations: 27.97 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1157, allocations: 292.8 kB / 474.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1158, allocations: 54.55 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.1159, allocations: 16.86 kB / 474.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1159, allocations: 0 / 474.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.116, allocations: 30.56 kB / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.116, allocations: 0 / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008507/0.1168, allocations: 249.1 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1169, allocations: 51.41 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.117, allocations: 210.1 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1171, allocations: 29.7 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1171, allocations: 108 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1172, allocations: 23.64 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1172, allocations: 25.72 kB / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1173, allocations: 322.8 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.1174, allocations: 35.91 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.1175, allocations: 27.98 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1176, allocations: 72.81 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1177, allocations: 0 / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002056/0.1179, allocations: 117.6 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1179, allocations: 4 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1179, allocations: 0 / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1179, allocations: 4 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.118, allocations: 15.98 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.118, allocations: 8 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.1181, allocations: 4 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1181, allocations: 8 kB / 475.7 MB, free: 8.406 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 (8): * Single equations (assignments): 8 * 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.304e-05/0.1182, allocations: 125.8 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1182, allocations: 11.91 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.1186, allocations: 134.3 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1186, allocations: 0 / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1186, allocations: 7.938 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1186, allocations: 0 / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.1192, allocations: 415.2 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1193, allocations: 0 / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.1193, allocations: 23.92 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1193, allocations: 0 / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1194, allocations: 7.938 kB / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1194, allocations: 0 / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1194, allocations: 0 / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1196, allocations: 216.2 kB / 476.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.1197, allocations: 89.38 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1197, allocations: 0 / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1198, allocations: 15.98 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1198, allocations: 4 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1198, allocations: 0 / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.12, allocations: 155.2 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.12, allocations: 4 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1202, allocations: 23.98 kB / 476.9 MB, free: 7.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001319/0.1216, allocations: 468.1 kB / 477.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1218, allocations: 71.95 kB / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1218, allocations: 0 / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.1219, allocations: 40.08 kB / 477.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1222, allocations: 24.08 kB / 477.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1227, allocations: 263.1 kB / 477.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.123, allocations: 0.708 MB / 478.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.123, allocations: 12.66 kB / 478.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1231, allocations: 15.44 kB / 478.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1231, allocations: 0 / 478.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Templates: time 0.003738/0.1268, allocations: 1.356 MB / 479.9 MB, free: 4.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches