Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 77.94 kB / 20.52 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 166.9 kB / 23.76 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 63.91 kB / 407.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1166, allocations: 61.05 MB / 468.9 MB, free: 8.238 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003107/0.1197, allocations: 1.684 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1211, allocations: 0.7766 MB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.1212, allocations: 3.938 kB / 471.3 MB, free: 5.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1214, allocations: 39.77 kB / 471.4 MB, free: 5.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1217, allocations: 47.77 kB / 471.4 MB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1219, allocations: 83.78 kB / 471.5 MB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1221, allocations: 99.67 kB / 471.6 MB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.1222, allocations: 8.234 kB / 471.6 MB, free: 5.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.1222, allocations: 39.8 kB / 471.6 MB, free: 5.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.1223, allocations: 39.77 kB / 471.7 MB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1224, allocations: 4 kB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1225, allocations: 43.98 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1225, allocations: 19.86 kB / 471.7 MB, free: 5.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1226, allocations: 23.86 kB / 471.8 MB, free: 5.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1228, allocations: 111.5 kB / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1228, allocations: 0 / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1228, allocations: 0 / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1228, allocations: 0 / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005685/0.1234, allocations: 333.7 kB / 472.2 MB, free: 4.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1234, allocations: 8.031 kB / 472.2 MB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1234, allocations: 8.891 kB / 472.2 MB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1237, allocations: 143 kB / 472.4 MB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1237, allocations: 7.938 kB / 472.4 MB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1237, allocations: 3.984 kB / 472.4 MB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1239, allocations: 57.67 kB / 472.4 MB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1239, allocations: 0 / 472.4 MB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1239, allocations: 3.938 kB / 472.4 MB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1239, allocations: 0 / 472.4 MB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.124, allocations: 23.98 kB / 472.4 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1243, allocations: 232.5 kB / 472.7 MB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1245, allocations: 50.69 kB / 472.7 MB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1246, allocations: 24.78 kB / 472.7 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1246, allocations: 0 / 472.7 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.1247, allocations: 71.34 kB / 472.8 MB, free: 4.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1248, allocations: 0 / 472.8 MB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1253, allocations: 177.4 kB / 473 MB, free: 3.961 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1254, allocations: 59.39 kB / 473 MB, free: 3.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1256, allocations: 170.3 kB / 473.2 MB, free: 3.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1256, allocations: 33.64 kB / 473.2 MB, free: 3.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1256, allocations: 100.1 kB / 473.3 MB, free: 3.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1257, allocations: 27.78 kB / 473.4 MB, free: 3.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1257, allocations: 17.72 kB / 473.4 MB, free: 3.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1259, allocations: 322.8 kB / 473.7 MB, free: 3.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.1259, allocations: 23.98 kB / 473.7 MB, free: 3.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.126, allocations: 37.7 kB / 473.8 MB, free: 3.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1262, allocations: 69.7 kB / 473.8 MB, free: 3.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1262, allocations: 0 / 473.8 MB, free: 3.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.1264, allocations: 101.6 kB / 473.9 MB, free: 2.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1264, allocations: 8.172 kB / 473.9 MB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1264, allocations: 4 kB / 473.9 MB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1264, allocations: 3.938 kB / 473.9 MB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.1265, allocations: 15.94 kB / 474 MB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1265, allocations: 0 / 474 MB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1266, allocations: 11.98 kB / 474 MB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1266, allocations: 8.406 kB / 474 MB, free: 2.898 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001143/0.1267, allocations: 113.8 kB / 474.1 MB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1267, allocations: 11.95 kB / 474.1 MB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.127, allocations: 126.3 kB / 474.2 MB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.127, allocations: 3.938 kB / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.127, allocations: 4 kB / 474.2 MB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.127, allocations: 3.984 kB / 474.2 MB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1275, allocations: 335 kB / 474.6 MB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1275, allocations: 0 / 474.6 MB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.1275, allocations: 15.97 kB / 474.6 MB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1275, allocations: 3.938 kB / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1275, allocations: 8 kB / 474.6 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1275, allocations: 0 / 474.6 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1275, allocations: 7.969 kB / 474.6 MB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1278, allocations: 208.3 kB / 474.8 MB, free: 2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.1279, allocations: 15.84 kB / 474.8 MB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1279, allocations: 4 kB / 474.8 MB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.128, allocations: 7.984 kB / 474.8 MB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.128, allocations: 4 kB / 474.8 MB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.128, allocations: 4 kB / 474.8 MB, free: 1.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1281, allocations: 139.2 kB / 475 MB, free: 1.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1281, allocations: 0 / 475 MB, free: 1.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1284, allocations: 23.94 kB / 475 MB, free: 1.805 MB / 446.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001984/0.1304, allocations: 492.5 kB / 475.5 MB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1306, allocations: 71.89 kB / 475.6 MB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1306, allocations: 0 / 475.6 MB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.1307, allocations: 31.92 kB / 475.6 MB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1311, allocations: 27.92 kB / 475.6 MB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1315, allocations: 206.7 kB / 475.8 MB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1317, allocations: 91.39 kB / 475.9 MB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.1317, allocations: 12.48 kB / 475.9 MB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1317, allocations: 16.5 kB / 475.9 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1317, allocations: 0 / 475.9 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of Templates: time 0.206/0.3377, allocations: 1.795 MB / 477.7 MB, free: 50.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.232730446034111]