Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.0014/0.0014, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.356/1.356, allocations: 222.9 MB / 242.9 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.2171/0.2171, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.78 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1145, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003404/0.1179, allocations: 1.899 MB / 471.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1195, allocations: 0.9275 MB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.1196, allocations: 4 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1199, allocations: 43.69 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1202, allocations: 55.7 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1205, allocations: 123.6 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1207, allocations: 135.6 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1209, allocations: 37.47 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.121, allocations: 55.72 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.1211, allocations: 47.72 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1211, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1212, allocations: 51.97 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1213, allocations: 23.92 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.1214, allocations: 51.67 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1216, allocations: 147.7 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1216, allocations: 0 / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1216, allocations: 0 / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1217, allocations: 0 / 473.5 MB, free: 10.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006954/0.1224, allocations: 476.5 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1224, allocations: 16.02 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1225, allocations: 12.75 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1227, allocations: 219.9 kB / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1228, allocations: 16.31 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1228, allocations: 8.125 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.123, allocations: 108.2 kB / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.123, allocations: 0 / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1231, allocations: 0 / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1231, allocations: 4 kB / 474.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1232, allocations: 55.89 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.1238, allocations: 0.5048 MB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.1241, allocations: 90.66 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.1243, allocations: 36.84 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1243, allocations: 3.938 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1245, allocations: 87.31 kB / 475.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.1246, allocations: 4 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003898/0.125, allocations: 141.4 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.125, allocations: 59.34 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1252, allocations: 187.5 kB / 475.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1253, allocations: 29.69 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.1254, allocations: 116 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1254, allocations: 23.62 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.1254, allocations: 33.7 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1256, allocations: 326.8 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.1257, allocations: 27.98 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1258, allocations: 60.27 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.126, allocations: 104.5 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.126, allocations: 3.938 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002629/0.1263, allocations: 129.4 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1263, allocations: 16.11 kB / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1263, allocations: 0 / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1264, allocations: 4 kB / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1265, allocations: 19.94 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1265, allocations: 7.984 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.1266, allocations: 11.94 kB / 476.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1266, allocations: 4 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001144/0.1267, allocations: 125.8 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1267, allocations: 23.78 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1268, allocations: 17.41 kB / 476.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1268, allocations: 3.938 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1268, allocations: 0 / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1268, allocations: 0 / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.127, allocations: 209.6 kB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.127, allocations: 4 kB / 476.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.1271, allocations: 11.98 kB / 476.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1271, allocations: 0 / 476.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1271, allocations: 8 kB / 476.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1271, allocations: 11.92 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1271, allocations: 4 kB / 476.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1275, allocations: 184.8 kB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1276, allocations: 93.08 kB / 477.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1276, allocations: 0 / 477.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.1277, allocations: 19.8 kB / 477.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1277, allocations: 8 kB / 477.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1278, allocations: 8.062 kB / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1279, allocations: 137.2 kB / 477.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1279, allocations: 0 / 477.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1281, allocations: 32.11 kB / 477.3 MB, free: 6.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009171/0.1291, allocations: 405.9 kB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.1293, allocations: 83.97 kB / 477.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1293, allocations: 4.062 kB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1295, allocations: 39.97 kB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1298, allocations: 31.97 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.1303, allocations: 297.6 kB / 478.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1306, allocations: 0.7122 MB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1306, allocations: 15.44 kB / 478.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of SimCode: time 1.492e-06/0.1306, allocations: 8 kB / 478.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Templates: time 0.00387/0.1345, allocations: 2.17 MB / 481.1 MB, free: 2.949 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches