Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001274/0.001274, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002353/0.002353, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003593/0.3272, allocations: 1.721 MB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3302, allocations: 1.657 MB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.3302, allocations: 4 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.3305, allocations: 39.77 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.3309, allocations: 107.5 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.3311, allocations: 79.72 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3313, allocations: 111.7 kB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.3314, allocations: 8 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.3316, allocations: 55.7 kB / 0.5656 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3317, allocations: 43.83 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3317, allocations: 8 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.3319, allocations: 107.9 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.332, allocations: 23.91 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.332, allocations: 27.8 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3324, allocations: 181.8 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3324, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3324, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3324, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006179/0.333, allocations: 361.3 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.333, allocations: 12.03 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3331, allocations: 8.891 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3334, allocations: 155.9 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3334, allocations: 384 / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3334, allocations: 12.12 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3336, allocations: 101.1 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3337, allocations: 11.89 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3337, allocations: 4 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3337, allocations: 0 / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3338, allocations: 31.97 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3342, allocations: 248.5 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3344, allocations: 74.61 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.3345, allocations: 24.78 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3345, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3347, allocations: 75.39 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3347, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006807/0.3354, allocations: 205.3 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.3355, allocations: 85.09 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3357, allocations: 174.2 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3357, allocations: 29.7 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.3358, allocations: 100.1 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3358, allocations: 35.8 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3359, allocations: 29.66 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.336, allocations: 326.8 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.3361, allocations: 27.98 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3362, allocations: 84.14 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3364, allocations: 73.69 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3364, allocations: 0 / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.3366, allocations: 121.5 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3366, allocations: 8 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3366, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3366, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3367, allocations: 24 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3368, allocations: 4.172 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3368, allocations: 4 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3368, allocations: 11.94 kB / 0.5683 GB, free: 13.35 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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.0001184/0.3369, allocations: 124.9 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.337, allocations: 11.95 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.3373, allocations: 146.7 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3373, allocations: 0 / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3373, allocations: 4 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3373, allocations: 3.984 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.3379, allocations: 378.9 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3379, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.338, allocations: 15.94 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.338, allocations: 4 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.338, allocations: 0 / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.338, allocations: 3.984 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.338, allocations: 11.92 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3383, allocations: 224.3 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.3384, allocations: 15.89 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3384, allocations: 12.03 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3385, allocations: 0 / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3385, allocations: 15.92 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3385, allocations: 4 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.3387, allocations: 144 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3387, allocations: 0 / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.339, allocations: 51.86 kB / 0.5694 GB, free: 12.13 MB / 414.1 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 (11): * Single equations (assignments): 9 * 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.002175/0.3412, allocations: 0.5914 MB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3414, allocations: 71.91 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3414, allocations: 0 / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.948e-05/0.3415, allocations: 39.92 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3419, allocations: 42.95 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.3425, allocations: 226.8 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.3426, allocations: 92.19 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.3426, allocations: 16.64 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3427, allocations: 23.42 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3427, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Templates: time 0.006642/0.3493, allocations: 2.714 MB / 0.5731 GB, free: 8.559 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.070002849010052]