Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001937/0.001937, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002175/0.002175, allocations: 169.6 kB / 23.53 MB, free: 0.8945 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.538/1.538, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2228/0.2228, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.812e-05, allocations: 6.25 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003505/0.003543, allocations: 1.711 MB / 348.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.00491, allocations: 0.7805 MB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.004988, allocations: 3.938 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.005332, allocations: 39.78 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.005538, allocations: 55.69 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.005775, allocations: 87.7 kB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005953, allocations: 107.6 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.00606, allocations: 4.234 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.006163, allocations: 51.78 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.006262, allocations: 31.89 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.00629, allocations: 4 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.006381, allocations: 39.92 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.006442, allocations: 19.92 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.006491, allocations: 19.92 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.006714, allocations: 111.6 kB / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.006722, allocations: 4 kB / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006723, allocations: 0 / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.00673, allocations: 0 / 350.1 MB, free: 6.637 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.0006554/0.007386, allocations: 447.5 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.007429, allocations: 15.97 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.007496, allocations: 8.891 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.007704, allocations: 148.4 kB / 350.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.007718, allocations: 384 / 350.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.007741, allocations: 4.375 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.007898, allocations: 58.23 kB / 350.7 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.007914, allocations: 7.891 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.007926, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.007931, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.008006, allocations: 19.98 kB / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.008373, allocations: 295.8 kB / 351.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.008531, allocations: 59.17 kB / 351.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.008583, allocations: 27.61 kB / 351.1 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.008605, allocations: 4 kB / 351.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.008744, allocations: 68.98 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.008745, allocations: 4 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.009287, allocations: 181.3 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.009316, allocations: 51.41 kB / 351.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009453, allocations: 236.1 kB / 351.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.009465, allocations: 29.7 kB / 351.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.009518, allocations: 158.9 kB / 351.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.009545, allocations: 23.81 kB / 351.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.009586, allocations: 31.36 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.009677, allocations: 0.5001 MB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.009723, allocations: 16 kB / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.009777, allocations: 47.36 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.009867, allocations: 71.23 kB / 352.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.009868, allocations: 3.938 kB / 352.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001533/0.01002, allocations: 101.6 kB / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01003, allocations: 7.984 kB / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01004, allocations: 0 / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01006, allocations: 7.938 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.01014, allocations: 12.38 kB / 352.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01015, allocations: 0 / 352.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.01019, allocations: 12.03 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.0102, allocations: 3.984 kB / 352.7 MB, free: 3.797 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.17e-05/0.01029, allocations: 177.4 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.01032, allocations: 11.91 kB / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.01053, allocations: 118.5 kB / 353 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01053, allocations: 4 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01053, allocations: 0 / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01054, allocations: 0 / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.01087, allocations: 409 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01087, allocations: 0 / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.01091, allocations: 20.02 kB / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01091, allocations: 0 / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.01093, allocations: 3.984 kB / 353.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01093, allocations: 7.938 kB / 353.4 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01093, allocations: 0 / 353.4 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.01113, allocations: 271.4 kB / 353.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01114, allocations: 7.953 kB / 353.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.01117, allocations: 11.98 kB / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.01123, allocations: 0 / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.01128, allocations: 7.984 kB / 353.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.01129, allocations: 4 kB / 353.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.01138, allocations: 180 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 0 / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.01162, allocations: 24 kB / 353.9 MB, free: 2.48 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.003087/0.0147, allocations: 498.7 kB / 354.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.01489, allocations: 67.61 kB / 354.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01489, allocations: 0 / 354.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.01496, allocations: 43.61 kB / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01529, allocations: 29.5 kB / 354.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01568, allocations: 225.5 kB / 354.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.01574, allocations: 92.42 kB / 354.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.01579, allocations: 20.78 kB / 354.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.01584, allocations: 20.5 kB / 354.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01584, allocations: 0 / 354.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of Templates: time 0.004927/0.02076, allocations: 1.832 MB / 356.7 MB, free: 15.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.1828939649276435]