Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001871/0.001871, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002241/0.002241, allocations: 161.6 kB / 23.52 MB, free: 0.918 MB / 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.6/1.6, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2486/0.2486, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.733e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003447/0.003484, allocations: 1.687 MB / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.004911, allocations: 0.7688 MB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.005033, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.005431, allocations: 47.7 kB / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.005746, allocations: 59.69 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.006084, allocations: 87.69 kB / 349.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.00629, allocations: 95.64 kB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.006409, allocations: 8.219 kB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.006548, allocations: 55.83 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.006653, allocations: 27.91 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.006678, allocations: 4 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.006795, allocations: 39.92 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.006856, allocations: 19.92 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.006915, allocations: 23.86 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.007156, allocations: 107.6 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.007162, allocations: 4 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007163, allocations: 0 / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.007171, allocations: 0 / 350 MB, free: 6.691 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.0006488/0.007819, allocations: 345.5 kB / 350.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.007866, allocations: 8.031 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.00795, allocations: 12.89 kB / 350.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.008272, allocations: 149.5 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.008292, allocations: 4.375 kB / 350.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.008325, allocations: 384 / 350.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.008517, allocations: 66.22 kB / 350.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.008535, allocations: 7.891 kB / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.008548, allocations: 0 / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008554, allocations: 0 / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.008641, allocations: 23.98 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.009033, allocations: 224.6 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.009222, allocations: 54.62 kB / 350.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.009282, allocations: 28.78 kB / 350.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.009304, allocations: 0 / 350.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.009488, allocations: 71.39 kB / 351 MB, free: 5.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.009489, allocations: 0 / 351 MB, free: 5.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007252/0.01021, allocations: 189.3 kB / 351.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.01026, allocations: 51.41 kB / 351.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01047, allocations: 184.5 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01049, allocations: 33.69 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.01054, allocations: 100.1 kB / 351.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.01059, allocations: 27.8 kB / 351.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.01065, allocations: 25.72 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01076, allocations: 318.8 kB / 351.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.01082, allocations: 31.92 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.01089, allocations: 37.7 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.011, allocations: 61.64 kB / 352 MB, free: 4.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01101, allocations: 0 / 352 MB, free: 4.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.0112, allocations: 105.6 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.01122, allocations: 7.984 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01123, allocations: 4 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.01125, allocations: 0 / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01137, allocations: 23.97 kB / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01138, allocations: 0 / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.01144, allocations: 8.359 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.01145, allocations: 4 kB / 352.2 MB, free: 4.344 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 0.0001044/0.01155, allocations: 130.7 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.01159, allocations: 15.91 kB / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.01186, allocations: 126.5 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01187, allocations: 3.984 kB / 352.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01188, allocations: 3.984 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01188, allocations: 4 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.01228, allocations: 343 kB / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01228, allocations: 0 / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.01232, allocations: 11.98 kB / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01232, allocations: 0 / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01234, allocations: 4 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01234, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01234, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.01257, allocations: 220.2 kB / 353 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.01259, allocations: 11.94 kB / 353.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01262, allocations: 8.031 kB / 353.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.01269, allocations: 0 / 353.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.01275, allocations: 19.91 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.01276, allocations: 4 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.01287, allocations: 152 kB / 353.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01287, allocations: 0 / 353.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000303/0.01317, allocations: 20 kB / 353.3 MB, free: 3.215 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.002277/0.01545, allocations: 0.49 MB / 353.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.01565, allocations: 63.89 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01566, allocations: 0 / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.01574, allocations: 27.98 kB / 353.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.01614, allocations: 37.14 kB / 353.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.01667, allocations: 237 kB / 354.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.209e-05/0.01675, allocations: 88.3 kB / 354.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.0168, allocations: 20.78 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.01685, allocations: 16.5 kB / 354.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01685, allocations: 0 / 354.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of Templates: time 0.005624/0.02247, allocations: 1.837 MB / 356.1 MB, free: 488 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282280220999382]