Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 175.1 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00076/0.0007601, allocations: 92.92 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3025/0.3025, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003457, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001781/0.111, allocations: 1.361 MB / 492.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.112, allocations: 0.7355 MB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1121, allocations: 0 / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1124, allocations: 55.86 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1125, allocations: 51.81 kB / 493 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1128, allocations: 75.84 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1129, allocations: 87.69 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.1129, allocations: 7.984 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.113, allocations: 39.78 kB / 493.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.1131, allocations: 39.83 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1131, allocations: 4 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.1132, allocations: 20 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.1133, allocations: 19.91 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1133, allocations: 57.5 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1135, allocations: 72.06 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1135, allocations: 4 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1135, allocations: 0 / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.1135, allocations: 0 / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004364/0.1139, allocations: 391.1 kB / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.114, allocations: 8.031 kB / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.114, allocations: 8.844 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1142, allocations: 208.1 kB / 494.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1142, allocations: 384 / 494.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1143, allocations: 16.06 kB / 494.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1144, allocations: 49.67 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1144, allocations: 0 / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1144, allocations: 0 / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1144, allocations: 0 / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/0.1145, allocations: 15.98 kB / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.1147, allocations: 185.6 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1148, allocations: 54.56 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1149, allocations: 24.78 kB / 494.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1149, allocations: 0 / 494.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.1151, allocations: 67.33 kB / 494.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1151, allocations: 0 / 494.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000247/0.1153, allocations: 97.52 kB / 494.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1154, allocations: 63.34 kB / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1155, allocations: 178.2 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1156, allocations: 29.7 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1156, allocations: 100.1 kB / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1156, allocations: 11.81 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1157, allocations: 4 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.1158, allocations: 322.8 kB / 495.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.1158, allocations: 15.98 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.1159, allocations: 25.72 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.116, allocations: 41.7 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.116, allocations: 0 / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001375/0.1161, allocations: 85.47 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1161, allocations: 4 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1161, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1162, allocations: 3.984 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.1162, allocations: 16.03 kB / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1162, allocations: 0 / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1163, allocations: 15.84 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1163, allocations: 0 / 495.5 MB, free: 6.004 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.1164, allocations: 133.3 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.1164, allocations: 7.906 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.1165, allocations: 16.31 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1165, allocations: 3.984 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1165, allocations: 0 / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1165, allocations: 4 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1166, allocations: 189.6 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1166, allocations: 0 / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.1166, allocations: 4 kB / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1166, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1167, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1167, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1167, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1168, allocations: 121.2 kB / 495.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1169, allocations: 100.8 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1169, allocations: 0 / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.117, allocations: 4 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.117, allocations: 3.984 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.117, allocations: 4 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1171, allocations: 144.1 kB / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1171, allocations: 0 / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.1173, allocations: 19.98 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007933/0.1181, allocations: 407.5 kB / 496.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1183, allocations: 43.92 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1183, allocations: 0 / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.1184, allocations: 19.98 kB / 496.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1186, allocations: 27.86 kB / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.119, allocations: 238.9 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1192, allocations: 0.7004 MB / 497.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1193, allocations: 15.38 kB / 497.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1193, allocations: 4 kB / 497.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of Templates: time 0.002949/0.1222, allocations: 1.656 MB / 499.3 MB, free: 2.059 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches