Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 102.5 kB / 16.93 MB, free: 5.793 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.001896/0.001897, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.412/1.412, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2128/0.2128, allocations: 43.52 MB / 314.6 MB, free: 0.543 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.00175/0.001751, allocations: 69.91 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 57.79 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003086/0.1119, allocations: 1.906 MB / 443.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1131, allocations: 0.8389 MB / 443.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1133, allocations: 4 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.1137, allocations: 51.7 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1139, allocations: 55.64 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1142, allocations: 95.75 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1144, allocations: 139.6 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1146, allocations: 33.7 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.1147, allocations: 55.73 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.1147, allocations: 51.64 kB / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1148, allocations: 8 kB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1149, allocations: 43.98 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1149, allocations: 23.92 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.115, allocations: 51.66 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1152, allocations: 147.5 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1153, allocations: 0 / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1153, allocations: 0 / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1153, allocations: 8 kB / 444.7 MB, free: 3.395 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005658/0.1158, allocations: 476.4 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1159, allocations: 11.89 kB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1159, allocations: 16.75 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1162, allocations: 220.1 kB / 445.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1162, allocations: 4.375 kB / 445.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1162, allocations: 12.12 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1164, allocations: 120.1 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1165, allocations: 0 / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1165, allocations: 0 / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1165, allocations: 4 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1167, allocations: 51.91 kB / 445.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.1172, allocations: 0.5009 MB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.1175, allocations: 94.59 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.1176, allocations: 36.84 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1176, allocations: 11.92 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1179, allocations: 83.3 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1179, allocations: 3.938 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000375/0.1183, allocations: 141.5 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1183, allocations: 59.34 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1185, allocations: 191.4 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1185, allocations: 29.7 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1185, allocations: 116 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1186, allocations: 27.64 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1186, allocations: 25.72 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.1187, allocations: 326.8 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.1188, allocations: 31.97 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.1189, allocations: 60.28 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.119, allocations: 100.2 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.119, allocations: 4 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002345/0.1193, allocations: 141.7 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1193, allocations: 8.031 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1193, allocations: 3.938 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1193, allocations: 4 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.1194, allocations: 24.05 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1195, allocations: 8 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.1195, allocations: 11.91 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1195, allocations: 4 kB / 447.6 MB, free: 208 kB / 318.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 8.711e-05/0.1196, allocations: 133.7 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.1197, allocations: 15.81 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1197, allocations: 17.39 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1197, allocations: 3.938 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1197, allocations: 4 kB / 447.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1197, allocations: 8 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.12, allocations: 213.5 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.12, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.1201, allocations: 8 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1201, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1201, allocations: 7.984 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1201, allocations: 3.938 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1201, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.1205, allocations: 180.8 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1206, allocations: 89.05 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1206, allocations: 3.938 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1207, allocations: 11.92 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1208, allocations: 11.98 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1208, allocations: 4 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1209, allocations: 141.1 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1212, allocations: 31.97 kB / 448.5 MB, free: 15.23 MB / 334.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.001062/0.1222, allocations: 415.3 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1225, allocations: 83.89 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1226, allocations: 3.938 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1227, allocations: 31.98 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.123, allocations: 41.73 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.1237, allocations: 289.8 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.124, allocations: 0.7161 MB / 450 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.124, allocations: 23.42 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.124, allocations: 0 / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of Templates: time 0.004738/0.1288, allocations: 2.151 MB / 452.2 MB, free: 11.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches