Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104.7 kB / 16.93 MB, free: 5.789 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.001596/0.001596, 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.596/1.596, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2161/0.2161, allocations: 43.53 MB / 314.6 MB, free: 0.5352 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.001889/0.001889, allocations: 75.5 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 57.78 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003533/0.1152, allocations: 1.703 MB / 442.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1165, allocations: 0.7961 MB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1166, allocations: 0 / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.117, allocations: 63.8 kB / 443.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1173, allocations: 51.7 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1176, allocations: 83.77 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1178, allocations: 95.69 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1179, allocations: 12.52 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.118, allocations: 39.78 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.1181, allocations: 35.84 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1181, allocations: 4 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1183, allocations: 43.92 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1183, allocations: 23.92 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.1184, allocations: 35.69 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1186, allocations: 139.5 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1186, allocations: 4 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1186, allocations: 0 / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1186, allocations: 0 / 444.3 MB, free: 3.777 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.0005155/0.1192, allocations: 438.6 kB / 444.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1192, allocations: 11.89 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.1193, allocations: 12.84 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1195, allocations: 223.4 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1195, allocations: 4.375 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1195, allocations: 12.03 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1197, allocations: 53.67 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1197, allocations: 7.984 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1197, allocations: 0 / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1197, allocations: 0 / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.1198, allocations: 19.98 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1201, allocations: 296.8 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1203, allocations: 62.67 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.1203, allocations: 16.86 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1204, allocations: 3.938 kB / 445.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1206, allocations: 75.31 kB / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1206, allocations: 0 / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.1211, allocations: 181.1 kB / 445.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1211, allocations: 55.34 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1213, allocations: 259.7 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1213, allocations: 25.7 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.1213, allocations: 116 kB / 446.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1214, allocations: 23.73 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1214, allocations: 21.72 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.1215, allocations: 334.8 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.1215, allocations: 24 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.1216, allocations: 33.7 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.439e-05/0.1217, allocations: 61.62 kB / 446.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1217, allocations: 3.938 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001541/0.1219, allocations: 101.5 kB / 446.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1219, allocations: 13.23 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1219, allocations: 4.031 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1219, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.122, allocations: 15.94 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.122, allocations: 4 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1221, allocations: 3.938 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1221, allocations: 11.97 kB / 446.8 MB, free: 1.055 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 8.015e-05/0.1222, allocations: 137.8 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1222, allocations: 11.81 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.1222, allocations: 25.41 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1223, allocations: 0 / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1223, allocations: 4 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1223, allocations: 7.922 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1226, allocations: 399.2 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1226, allocations: 0 / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1227, allocations: 11.98 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1227, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1227, allocations: 7.969 kB / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1227, allocations: 4 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1227, allocations: 3.938 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1229, allocations: 196.5 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.1229, allocations: 88.92 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.123, allocations: 15.88 kB / 447.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.123, allocations: 3.984 kB / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.1231, allocations: 8 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1231, allocations: 4.375 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.1234, allocations: 203.3 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1234, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1236, allocations: 20 kB / 447.9 MB, free: 15.82 MB / 334.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.001138/0.1248, allocations: 481.5 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.125, allocations: 55.97 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.125, allocations: 4 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.1251, allocations: 35.91 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1254, allocations: 19.98 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.126, allocations: 313.8 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1263, allocations: 0.7236 MB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1263, allocations: 19.38 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1263, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.004296/0.1306, allocations: 2.049 MB / 451.6 MB, free: 12.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches