Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001044/0.001044, allocations: 88.2 kB / 20.95 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.001112/0.001112, 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.157/1.157, allocations: 158.6 MB / 186 MB, free: 2.906 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.1473/0.1473, 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0 / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.354e-05/4.719e-05, allocations: 4.281 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003928/0.003975, allocations: 1.742 MB / 349.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.005304, allocations: 0.7843 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.005442, allocations: 0 / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.005979, allocations: 91.62 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.006329, allocations: 79.61 kB / 350.4 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.006711, allocations: 83.69 kB / 350.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.006982, allocations: 107.7 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.007127, allocations: 16.2 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.00725, allocations: 59.77 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.007388, allocations: 51.88 kB / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.007415, allocations: 8 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007542, allocations: 43.92 kB / 350.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.007632, allocations: 31.91 kB / 350.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.007695, allocations: 23.86 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.00795, allocations: 99.59 kB / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007956, allocations: 0 / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.007958, allocations: 0 / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.007966, allocations: 0 / 351 MB, free: 6.461 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.0006797/0.008646, allocations: 455.8 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.008706, allocations: 8.031 kB / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.008792, allocations: 12.89 kB / 351.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.009049, allocations: 156.4 kB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.009081, allocations: 384 / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.009114, allocations: 4.375 kB / 351.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.009328, allocations: 66.88 kB / 351.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.009345, allocations: 7.875 kB / 351.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.009361, allocations: 4 kB / 351.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.009375, allocations: 0 / 351.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.009428, allocations: 11.98 kB / 351.7 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.009868, allocations: 283.8 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.01002, allocations: 51.17 kB / 352 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.01006, allocations: 31.55 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.01008, allocations: 0 / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.01023, allocations: 65.05 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/0.01024, allocations: 0 / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.01082, allocations: 153.4 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.01087, allocations: 55.41 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01102, allocations: 246.6 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01103, allocations: 25.7 kB / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.01109, allocations: 158.9 kB / 352.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.01113, allocations: 23.84 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.01118, allocations: 27.36 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01128, allocations: 0.5001 MB / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.01132, allocations: 8.375 kB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.01137, allocations: 39.3 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.01144, allocations: 51.3 kB / 353.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01144, allocations: 4 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001407/0.01158, allocations: 93.53 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.0116, allocations: 8.031 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01161, allocations: 0 / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01163, allocations: 4 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01173, allocations: 15.98 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01174, allocations: 0 / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.01178, allocations: 4 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01179, allocations: 0 / 353.5 MB, free: 3.703 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.28e-05/0.01188, allocations: 168.5 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.0119, allocations: 19.91 kB / 353.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.01211, allocations: 107.3 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01211, allocations: 7.938 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01212, allocations: 0 / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.01213, allocations: 3.938 kB / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.01248, allocations: 400.9 kB / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.01249, allocations: 0 / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.01252, allocations: 8 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01253, allocations: 3.984 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01254, allocations: 8 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01254, allocations: 0 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01254, allocations: 0 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.01271, allocations: 263.4 kB / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01273, allocations: 15.89 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01275, allocations: 4 kB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.0128, allocations: 4 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.01285, allocations: 7.984 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.01287, allocations: 4 kB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.01295, allocations: 175.1 kB / 354.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01295, allocations: 0 / 354.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.01317, allocations: 27.98 kB / 354.7 MB, free: 2.41 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.001172/0.01434, allocations: 445 kB / 355.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01454, allocations: 55.59 kB / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01454, allocations: 0 / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.01459, allocations: 35.61 kB / 355.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01492, allocations: 35.88 kB / 355.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01548, allocations: 217.4 kB / 355.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.01554, allocations: 75.33 kB / 355.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.01559, allocations: 20.59 kB / 355.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.01564, allocations: 16.5 kB / 355.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of SimCode: time 2.194e-06/0.01564, allocations: 3.938 kB / 355.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of Templates: time 0.005194/0.02084, allocations: 1.84 MB / 357.4 MB, free: 15.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.720748577034101]