Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.001196/0.001196, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001697/0.001697, allocations: 169 kB / 24.24 MB, free: 316 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 1.07/1.07, allocations: 158.6 MB / 186 MB, free: 2.926 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.1517/0.1517, allocations: 32.37 MB / 270.7 MB, free: 14.79 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.439e-05, allocations: 6.25 kB / 347.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002188/0.002213, allocations: 1.737 MB / 349.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.003211, allocations: 0.7959 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.0033, allocations: 0 / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.003685, allocations: 47.75 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.003919, allocations: 59.75 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.004121, allocations: 87.64 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004289, allocations: 95.69 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.00441, allocations: 8.234 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.004502, allocations: 55.77 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.004583, allocations: 23.91 kB / 350.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.004607, allocations: 4 kB / 350.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.004692, allocations: 47.91 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.004753, allocations: 31.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.004799, allocations: 19.88 kB / 350.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.004996, allocations: 99.66 kB / 350.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.004999, allocations: 0 / 350.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005, allocations: 0 / 350.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.005007, allocations: 0 / 350.9 MB, free: 6.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004751/0.005482, allocations: 459.8 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.005531, allocations: 8.031 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.005589, allocations: 24.77 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.005765, allocations: 152.4 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.005786, allocations: 8.375 kB / 351.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.00581, allocations: 4.375 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005942, allocations: 58.94 kB / 351.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.005956, allocations: 7.938 kB / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005969, allocations: 0 / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005977, allocations: 0 / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.006017, allocations: 15.92 kB / 351.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.006301, allocations: 291.8 kB / 351.9 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.006409, allocations: 47.17 kB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.006442, allocations: 27.62 kB / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.006457, allocations: 0 / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-05/0.006549, allocations: 68.98 kB / 352 MB, free: 5.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006551, allocations: 0 / 352 MB, free: 5.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003852/0.006936, allocations: 161.3 kB / 352.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.006963, allocations: 55.41 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.007077, allocations: 245.9 kB / 352.5 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.007086, allocations: 25.7 kB / 352.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.007126, allocations: 154.9 kB / 352.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.007149, allocations: 23.8 kB / 352.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.00718, allocations: 39.36 kB / 352.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.007241, allocations: 0.4962 MB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.007263, allocations: 8.375 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.007296, allocations: 35.36 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.007347, allocations: 55.23 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007349, allocations: 4 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.506e-05/0.007444, allocations: 97.52 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.007458, allocations: 4 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007464, allocations: 0 / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.007477, allocations: 4.031 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.007551, allocations: 19.98 kB / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.007559, allocations: 0 / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.007584, allocations: 4 kB / 353.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007591, allocations: 4 kB / 353.4 MB, free: 3.793 MB / 282.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 ($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 5.983e-05/0.007651, allocations: 168.5 kB / 353.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.007665, allocations: 15.91 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.0078, allocations: 111.2 kB / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007802, allocations: 0 / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007806, allocations: 0 / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.00781, allocations: 7.984 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.008042, allocations: 393 kB / 354.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008044, allocations: 0 / 354.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.008067, allocations: 15.92 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.008069, allocations: 0 / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.008078, allocations: 4 kB / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008079, allocations: 0 / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008081, allocations: 3.984 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008195, allocations: 267.4 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008206, allocations: 15.94 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.008225, allocations: 4 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.008263, allocations: 0 / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.008305, allocations: 11.98 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.008318, allocations: 4 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.008379, allocations: 183.1 kB / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008379, allocations: 0 / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000169/0.008548, allocations: 23.94 kB / 354.6 MB, free: 2.5 MB / 282.7 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 (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.0008638/0.009412, allocations: 437.8 kB / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.009531, allocations: 63.53 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.009533, allocations: 0 / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.009571, allocations: 35.61 kB / 355.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.009803, allocations: 28.3 kB / 355.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.01015, allocations: 229.5 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.837e-05/0.01019, allocations: 75.28 kB / 355.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01022, allocations: 24.53 kB / 355.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.01025, allocations: 16.5 kB / 355.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01025, allocations: 0 / 355.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Templates: time 0.003649/0.0139, allocations: 1.851 MB / 357.4 MB, free: 15.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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: 3.4560539540834725]