Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8957/0.8957, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.422e-05, allocations: 6.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00248/0.002504, allocations: 1.927 MB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1201/0.1226, allocations: 0.8338 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1227, allocations: 2.25 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.123, allocations: 48.14 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1233, allocations: 61.69 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1236, allocations: 109 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1238, allocations: 138.7 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1239, allocations: 25.28 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.124, allocations: 74.23 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.1241, allocations: 37.08 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1241, allocations: 7.75 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1242, allocations: 47.17 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1243, allocations: 24.2 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1243, allocations: 35.02 kB / 302.5 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1246, allocations: 128.6 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1246, allocations: 2.047 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1246, allocations: 0 / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1246, allocations: 0 / 302.6 MB, free: 19.1 MB / 282.7 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.0004262/0.125, allocations: 376.6 kB / 303 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.125, allocations: 10.16 kB / 303 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1251, allocations: 12.91 kB / 303 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1252, allocations: 165.6 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1253, allocations: 6.375 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1253, allocations: 6.953 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1255, allocations: 131.2 kB / 303.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1255, allocations: 5.062 kB / 303.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1255, allocations: 4.969 kB / 303.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1255, allocations: 5.656 kB / 303.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.1255, allocations: 34.53 kB / 303.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1258, allocations: 376.1 kB / 303.7 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.126, allocations: 99.22 kB / 303.8 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.126, allocations: 26.7 kB / 303.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1261, allocations: 3.25 kB / 303.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.949e-05/0.1262, allocations: 97.05 kB / 304 MB, free: 18.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.1262, allocations: 0.6562 kB / 304 MB, free: 18.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001436/0.1263, allocations: 75.16 kB / 304 MB, free: 17.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.1263, allocations: 52.44 kB / 304.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1264, allocations: 183.4 kB / 304.3 MB, free: 17.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1264, allocations: 27.45 kB / 304.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.1265, allocations: 104.8 kB / 304.4 MB, free: 17.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1265, allocations: 33.52 kB / 304.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1265, allocations: 29.59 kB / 304.5 MB, free: 17.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.1266, allocations: 330.7 kB / 304.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.1266, allocations: 12.88 kB / 304.8 MB, free: 17.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.1266, allocations: 49 kB / 304.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.1267, allocations: 66.77 kB / 304.9 MB, free: 17.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1267, allocations: 3.812 kB / 304.9 MB, free: 17.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000117/0.1268, allocations: 93.64 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1268, allocations: 6.266 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1268, allocations: 1.125 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1268, allocations: 1.75 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1269, allocations: 24.14 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1269, allocations: 4.375 kB / 305 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.127, allocations: 13.44 kB / 305 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.127, allocations: 3.109 kB / 305 MB, free: 17.19 MB / 282.7 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 5.441e-05/0.127, allocations: 131.7 kB / 305.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.1271, allocations: 11.08 kB / 305.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1272, allocations: 78.77 kB / 305.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1272, allocations: 1.953 kB / 305.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1272, allocations: 0 / 305.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1272, allocations: 1.75 kB / 305.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.1273, allocations: 95.48 kB / 305.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1273, allocations: 11.75 kB / 305.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.1273, allocations: 10.78 kB / 305.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1273, allocations: 1.156 kB / 305.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1273, allocations: 0.7031 kB / 305.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1273, allocations: 5.562 kB / 305.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1273, allocations: 1.188 kB / 305.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1275, allocations: 112.5 kB / 305.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.1275, allocations: 27.83 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1275, allocations: 1.891 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1276, allocations: 9.531 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1276, allocations: 7.641 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1276, allocations: 2.859 kB / 305.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.1277, allocations: 58.91 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1277, allocations: 1.125 kB / 305.6 MB, free: 16.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.1279, allocations: 27.56 kB / 305.6 MB, free: 16.82 MB / 282.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001153/0.129, allocations: 0.5119 MB / 306.1 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1291, allocations: 47.83 kB / 306.2 MB, free: 16.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1291, allocations: 1.312 kB / 306.2 MB, free: 16.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.1292, allocations: 33.14 kB / 306.2 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.1293, allocations: 39.34 kB / 306.3 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.1297, allocations: 257.6 kB / 306.5 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.1297, allocations: 69.86 kB / 306.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1297, allocations: 16.19 kB / 306.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1298, allocations: 77.5 kB / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1298, allocations: 0 / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of Templates: time 0.004574/0.1344, allocations: 2.196 MB / 308.9 MB, free: 15.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.860304214991629]