Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 110 kB / 16.64 MB, free: 5.918 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.001713/0.001713, allocations: 190.1 kB / 17.56 MB, free: 5.508 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.374/1.374, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2101/0.2101, allocations: 43.52 MB / 314.3 MB, free: 0.6875 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.001616/0.001616, allocations: 69.31 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 57.79 MB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003036/0.1125, allocations: 1.75 MB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1137, allocations: 0.789 MB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.1138, allocations: 3.938 kB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1142, allocations: 31.89 kB / 443.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1144, allocations: 51.83 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1147, allocations: 71.84 kB / 443.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1149, allocations: 95.7 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.115, allocations: 20.44 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.1151, allocations: 43.78 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.1151, allocations: 31.8 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1152, allocations: 0 / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.1153, allocations: 39.98 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.1153, allocations: 23.91 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1154, allocations: 27.81 kB / 443.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1155, allocations: 91.75 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1155, allocations: 0 / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1156, allocations: 4 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1156, allocations: 4 kB / 443.7 MB, free: 4.238 MB / 318.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.0004703/0.116, allocations: 403 kB / 444.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1161, allocations: 15.89 kB / 444.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.1161, allocations: 12.75 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1163, allocations: 202.1 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1163, allocations: 4.375 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1164, allocations: 8.109 kB / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1165, allocations: 57.67 kB / 444.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1165, allocations: 4 kB / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1166, allocations: 0 / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1166, allocations: 0 / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.1166, allocations: 23.92 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.117, allocations: 280.9 kB / 444.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1171, allocations: 54.69 kB / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.1172, allocations: 24.84 kB / 444.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1172, allocations: 3.938 kB / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1174, allocations: 71.31 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1174, allocations: 0 / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004899/0.1179, allocations: 173.2 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1179, allocations: 63.41 kB / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1181, allocations: 170.1 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.1181, allocations: 25.7 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1181, allocations: 104.1 kB / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1181, allocations: 19.66 kB / 445.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1182, allocations: 25.7 kB / 445.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.1182, allocations: 326.8 kB / 445.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.1183, allocations: 23.98 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.1184, allocations: 37.66 kB / 445.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/0.1185, allocations: 57.64 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1185, allocations: 4 kB / 445.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001436/0.1186, allocations: 101.6 kB / 446 MB, free: 1.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1186, allocations: 7.938 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1186, allocations: 0 / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1187, allocations: 12.02 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.1188, allocations: 12 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1188, allocations: 0 / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1188, allocations: 11.92 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1188, allocations: 4 kB / 446 MB, free: 1.707 MB / 318.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 6.528e-05/0.1189, allocations: 121.8 kB / 446.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1189, allocations: 15.81 kB / 446.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.119, allocations: 16.7 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.119, allocations: 0 / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.119, allocations: 4 kB / 446.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.119, allocations: 3.938 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1193, allocations: 391.3 kB / 446.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1193, allocations: 0 / 446.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.1194, allocations: 11.94 kB / 446.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1194, allocations: 0 / 446.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1194, allocations: 7.922 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1194, allocations: 4 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1194, allocations: 4.031 kB / 446.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1196, allocations: 200.2 kB / 446.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.1196, allocations: 81.02 kB / 446.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1196, allocations: 7.938 kB / 446.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1197, allocations: 8.359 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1197, allocations: 4 kB / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1198, allocations: 8 kB / 446.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.1198, allocations: 139.2 kB / 447 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1198, allocations: 0 / 447 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1201, allocations: 20 kB / 447.1 MB, free: 0.5664 MB / 318.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 (8): * Single equations (assignments): 6 * 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.000958/0.1211, allocations: 483.1 kB / 447.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1212, allocations: 59.91 kB / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1213, allocations: 4 kB / 447.6 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.1213, allocations: 23.98 kB / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1216, allocations: 23.98 kB / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1221, allocations: 268.7 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1224, allocations: 0.7001 MB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1225, allocations: 27.42 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1225, allocations: 4 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.003867/0.1264, allocations: 1.865 MB / 450.5 MB, free: 13.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches