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.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.001872/0.001872, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.002347/0.002347, allocations: 169 kB / 24.24 MB, free: 312 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.373/1.373, allocations: 158.6 MB / 186 MB, free: 2.914 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.1788/0.1788, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.25e-06, allocations: 3.938 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.92e-05/5.445e-05, allocations: 4.281 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003967/0.004021, allocations: 1.738 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005507, allocations: 0.7959 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.005626, allocations: 0 / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.006065, allocations: 51.75 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.006344, allocations: 63.69 kB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.006635, allocations: 87.69 kB / 350.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.006846, allocations: 91.7 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.006975, allocations: 8.234 kB / 350.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.007086, allocations: 55.75 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.007186, allocations: 23.92 kB / 350.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.007212, allocations: 8 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.007322, allocations: 47.91 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.00739, allocations: 35.86 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.007444, allocations: 15.94 kB / 350.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.007686, allocations: 119.5 kB / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007689, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007691, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007696, allocations: 0 / 350.9 MB, free: 6.551 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.0005359/0.008232, allocations: 467.7 kB / 351.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.008281, allocations: 8.031 kB / 351.3 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.00835, allocations: 16.84 kB / 351.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.00856, allocations: 160.4 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.008583, allocations: 384 / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.008609, allocations: 12.36 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.00877, allocations: 62.88 kB / 351.6 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.008786, allocations: 3.938 kB / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.008799, allocations: 4 kB / 351.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.008817, allocations: 0 / 351.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.883e-05/0.008866, allocations: 8 kB / 351.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.00925, allocations: 303.8 kB / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.009385, allocations: 59.11 kB / 352 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.009428, allocations: 19.62 kB / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.009444, allocations: 0 / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.009574, allocations: 65.05 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.009576, allocations: 0 / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005185/0.01009, allocations: 161.3 kB / 352.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01013, allocations: 55.41 kB / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01031, allocations: 281.2 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.01033, allocations: 29.7 kB / 352.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.01039, allocations: 162.9 kB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.01042, allocations: 23.8 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.01047, allocations: 31.36 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.01053, allocations: 0.5001 MB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.01057, allocations: 16.3 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.01062, allocations: 31.38 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.01069, allocations: 51.3 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01069, allocations: 8 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.01086, allocations: 97.5 kB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.01088, allocations: 8.031 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01089, allocations: 0 / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.01092, allocations: 4 kB / 353.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01104, allocations: 19.98 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01105, allocations: 0 / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.0111, allocations: 4 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01111, allocations: 0 / 353.5 MB, free: 3.695 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 9.723e-05/0.01121, allocations: 168.5 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.01123, allocations: 19.89 kB / 353.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01146, allocations: 107.2 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.01146, allocations: 8 kB / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01147, allocations: 3.984 kB / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01147, allocations: 0 / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.01188, allocations: 401 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01188, allocations: 0 / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.01193, allocations: 15.98 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.01194, allocations: 0 / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.01195, allocations: 0 / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01196, allocations: 4 kB / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01196, allocations: 0 / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.01215, allocations: 267.4 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01217, allocations: 11.95 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.01221, allocations: 4 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.01229, allocations: 3.984 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.01234, allocations: 8 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.01237, allocations: 11.92 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.01249, allocations: 188.3 kB / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01249, allocations: 0 / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.01281, allocations: 35.88 kB / 354.7 MB, free: 2.375 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.001352/0.01416, allocations: 439 kB / 355.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01434, allocations: 59.53 kB / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01434, allocations: 0 / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.0144, allocations: 27.67 kB / 355.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.01483, allocations: 31.84 kB / 355.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.01539, allocations: 257.9 kB / 355.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.01544, allocations: 75.33 kB / 355.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.01549, allocations: 24.59 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.01554, allocations: 16.5 kB / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01554, allocations: 0 / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Templates: time 0.005339/0.02088, allocations: 1.861 MB / 357.5 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.8382465899921954]