Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001558/0.001558, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.00147/0.00147, allocations: 168.1 kB / 23.96 MB, free: 4.145 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.2294/0.2294, allocations: 34.29 MB / 295 MB, free: 14.55 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.483e-05/3.67e-05, allocations: 2.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00638/0.006417, allocations: 1.734 MB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.009266, allocations: 0.9626 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.009368, allocations: 0 / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.009734, allocations: 35.77 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.0101, allocations: 103.5 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.01038, allocations: 87.53 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.01065, allocations: 107.7 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.01077, allocations: 4 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.01093, allocations: 59.77 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.01104, allocations: 23.91 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.01107, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.01123, allocations: 47.97 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.01132, allocations: 15.92 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.01139, allocations: 27.81 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.01171, allocations: 119.6 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01171, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01171, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01172, allocations: 0 / 446.1 MB, free: 1.973 MB / 366.1 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.0008651/0.01258, allocations: 353.5 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.7e-05/0.01268, allocations: 8.031 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.01274, allocations: 12.84 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.01307, allocations: 150.3 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01309, allocations: 384 / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.01312, allocations: 8.375 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.01334, allocations: 54.23 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.01336, allocations: 7.922 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.01338, allocations: 7.938 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.01338, allocations: 0 / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.01347, allocations: 23.92 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.01409, allocations: 236.5 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.01437, allocations: 54.67 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.01446, allocations: 24.78 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.01448, allocations: 8 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.01472, allocations: 67.33 kB / 447.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.01472, allocations: 0 / 447.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007604/0.01548, allocations: 181.3 kB / 447.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.01555, allocations: 59.41 kB / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.01581, allocations: 198.2 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.01585, allocations: 33.69 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.01595, allocations: 100.1 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.01599, allocations: 27.78 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.01604, allocations: 25.72 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2422/0.2582, allocations: 322.8 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2584, allocations: 19.89 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.2585, allocations: 38.88 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2586, allocations: 62.22 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2586, allocations: 1.031 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.2589, allocations: 107.3 kB / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2589, allocations: 5.969 kB / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.259, allocations: 3.703 kB / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.259, allocations: 3.594 kB / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2591, allocations: 19.58 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2591, allocations: 5.453 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.2592, allocations: 2.812 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2592, allocations: 4.156 kB / 448.3 MB, free: 18.98 MB / 366.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 (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.0001419/0.2593, allocations: 130.3 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.2594, allocations: 10.42 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.2597, allocations: 122.8 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2597, allocations: 1.125 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2597, allocations: 3.938 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2597, allocations: 0.7031 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.2602, allocations: 349.8 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2602, allocations: 8.078 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.2603, allocations: 10.55 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2603, allocations: 1.125 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2603, allocations: 5.734 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2603, allocations: 5.531 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2603, allocations: 1.094 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.2606, allocations: 212.1 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2606, allocations: 15.42 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2606, allocations: 7.219 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2607, allocations: 3.203 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.2608, allocations: 13.7 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2608, allocations: 3.984 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.2609, allocations: 152 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2609, allocations: 0 / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2612, allocations: 26.78 kB / 449.3 MB, free: 18.36 MB / 366.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 (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.00192/0.2631, allocations: 493.5 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2634, allocations: 60.64 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2634, allocations: 1.406 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.2634, allocations: 36.05 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2638, allocations: 30.34 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.2643, allocations: 242.3 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.2644, allocations: 92.22 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.2645, allocations: 16.89 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2645, allocations: 17.3 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2645, allocations: 0 / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005789/0.2703, allocations: 1.838 MB / 452.1 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.064115729182959]