Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_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.001129/0.001129, allocations: 109.5 kB / 17.86 MB, free: 5.629 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.001368/0.001368, allocations: 190 kB / 18.77 MB, free: 4.715 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.305/1.305, allocations: 222.9 MB / 242.5 MB, free: 13.78 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.2227/0.2227, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 65.16 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 60.84 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003049/0.1133, allocations: 1.957 MB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1147, allocations: 0.9042 MB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1148, allocations: 4 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1151, allocations: 35.83 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1153, allocations: 51.77 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1156, allocations: 115 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1158, allocations: 131.6 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1159, allocations: 25.48 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.116, allocations: 51.72 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.1161, allocations: 51.64 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1161, allocations: 4 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.1162, allocations: 47.98 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1162, allocations: 23.91 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1163, allocations: 47.67 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1165, allocations: 104 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.1165, allocations: 0 / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1165, allocations: 0 / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1165, allocations: 0 / 472.7 MB, free: 11.24 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.0006064/0.1171, allocations: 480.5 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1172, allocations: 16.03 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1172, allocations: 16.75 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1175, allocations: 220.5 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1175, allocations: 4.375 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1175, allocations: 12.11 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1177, allocations: 107.5 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1178, allocations: 0 / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1178, allocations: 11.98 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1178, allocations: 7.938 kB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.118, allocations: 47.91 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.1185, allocations: 0.5048 MB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1188, allocations: 90.59 kB / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.119, allocations: 36.84 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.119, allocations: 7.984 kB / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.1192, allocations: 83.31 kB / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1192, allocations: 0 / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003931/0.1196, allocations: 141.4 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1197, allocations: 63.28 kB / 474.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1198, allocations: 191.5 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1199, allocations: 29.7 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1199, allocations: 120 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.12, allocations: 23.62 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.12, allocations: 29.7 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.1201, allocations: 322.8 kB / 475.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.1202, allocations: 27.98 kB / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1203, allocations: 64.27 kB / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1205, allocations: 96.58 kB / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1206, allocations: 0 / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002929/0.1209, allocations: 149.3 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1209, allocations: 4 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1209, allocations: 0 / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1209, allocations: 4 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.121, allocations: 27.86 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.121, allocations: 4 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.1211, allocations: 7.938 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1211, allocations: 8 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 0.0001096/0.1212, allocations: 133.9 kB / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1213, allocations: 19.8 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.1213, allocations: 13.41 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1213, allocations: 3.938 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1213, allocations: 0 / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1214, allocations: 7.984 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1215, allocations: 213.6 kB / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1215, allocations: 0 / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.1216, allocations: 8 kB / 476 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1216, allocations: 0 / 476 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1217, allocations: 8 kB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1217, allocations: 3.938 kB / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1217, allocations: 0 / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.1221, allocations: 180.8 kB / 476.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1221, allocations: 96.83 kB / 476.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1222, allocations: 4 kB / 476.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1222, allocations: 15.98 kB / 476.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1223, allocations: 4 kB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1223, allocations: 11.98 kB / 476.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1224, allocations: 133.2 kB / 476.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1224, allocations: 192 / 476.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1227, allocations: 36.05 kB / 476.5 MB, free: 7.086 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.0009115/0.1236, allocations: 401.8 kB / 476.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1239, allocations: 79.91 kB / 477 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1239, allocations: 0 / 477 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.124, allocations: 48.03 kB / 477 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1243, allocations: 31.97 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.0005022/0.1248, allocations: 331.9 kB / 477.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.125, allocations: 0.7165 MB / 478.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1251, allocations: 15.44 kB / 478.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1251, allocations: 0 / 478.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Templates: time 0.004172/0.1293, allocations: 2.148 MB / 480.3 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches