Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001065/0.001065, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.308/1.308, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.1892/0.1892, allocations: 44.17 MB / 336.8 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 73.23 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003357/0.1065, allocations: 1.965 MB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1079, allocations: 0.9042 MB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.108, allocations: 3.938 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1082, allocations: 39.83 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1084, allocations: 47.77 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1087, allocations: 110.8 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1089, allocations: 127.6 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.109, allocations: 29.42 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.1091, allocations: 51.72 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.1092, allocations: 51.7 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1093, allocations: 4 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.1094, allocations: 43.98 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1094, allocations: 19.92 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.1095, allocations: 55.53 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1097, allocations: 108.1 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1097, allocations: 0 / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1097, allocations: 0 / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1097, allocations: 0 / 472.7 MB, free: 11.25 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.0006192/0.1103, allocations: 476.6 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1104, allocations: 8.031 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1104, allocations: 16.75 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1106, allocations: 224.4 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1107, allocations: 12.38 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1107, allocations: 12.06 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1109, allocations: 108.2 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1109, allocations: 0 / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.111, allocations: 0 / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.111, allocations: 0 / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1111, allocations: 51.91 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1117, allocations: 0.5165 MB / 474.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.112, allocations: 86.66 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.1121, allocations: 36.84 kB / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1121, allocations: 0 / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1124, allocations: 95.23 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1124, allocations: 0 / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003947/0.1128, allocations: 145.4 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1128, allocations: 55.34 kB / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.113, allocations: 187.5 kB / 474.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.113, allocations: 29.7 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.1131, allocations: 112 kB / 474.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1131, allocations: 27.61 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1132, allocations: 29.72 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.1133, allocations: 326.8 kB / 475.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.1134, allocations: 31.97 kB / 475.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.1135, allocations: 60.28 kB / 475.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1137, allocations: 108.1 kB / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1137, allocations: 0 / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002682/0.114, allocations: 133.7 kB / 475.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.114, allocations: 4 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.114, allocations: 8.219 kB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.114, allocations: 3.938 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1142, allocations: 31.91 kB / 475.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1142, allocations: 3.984 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1143, allocations: 15.94 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1143, allocations: 4 kB / 475.6 MB, free: 8.055 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 9.75e-05/0.1144, allocations: 129.8 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1144, allocations: 15.81 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1145, allocations: 25.39 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1145, allocations: 3.938 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1145, allocations: 3.938 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1145, allocations: 0 / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1146, allocations: 201.6 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1147, allocations: 4 kB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.1147, allocations: 12 kB / 476 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1147, allocations: 0 / 476 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1148, allocations: 7.984 kB / 476 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1148, allocations: 3.938 kB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1148, allocations: 3.938 kB / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1152, allocations: 180.8 kB / 476.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.1152, allocations: 92.89 kB / 476.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1153, allocations: 7.984 kB / 476.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1153, allocations: 11.94 kB / 476.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1154, allocations: 3.984 kB / 476.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1154, allocations: 4.062 kB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1155, allocations: 145.2 kB / 476.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1155, allocations: 0 / 476.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1157, allocations: 28.12 kB / 476.5 MB, free: 7.094 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.0008992/0.1167, allocations: 412.6 kB / 476.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1169, allocations: 83.83 kB / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1169, allocations: 4.25 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.117, allocations: 31.98 kB / 477 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.1173, allocations: 42.66 kB / 477.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.1179, allocations: 327.6 kB / 477.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1181, allocations: 0.7204 MB / 478.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.1182, allocations: 19.42 kB / 478.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1182, allocations: 0 / 478.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004147/0.1223, allocations: 2.143 MB / 480.3 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches