Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.0009954/0.0009954, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001063/0.001063, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2998/0.2998, allocations: 34.26 MB / 296.1 MB, free: 0.7695 MB / 266.7 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.391e-05, allocations: 10.25 kB / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002386/0.00241, allocations: 1.765 MB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003616, allocations: 1.005 MB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.003699, allocations: 3.938 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.004171, allocations: 39.77 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.004494, allocations: 99.53 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.004703, allocations: 79.55 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.004885, allocations: 107.6 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.004976, allocations: 11.98 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.005062, allocations: 55.83 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.005133, allocations: 27.91 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005149, allocations: 4 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.005235, allocations: 43.92 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.005292, allocations: 19.92 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.005333, allocations: 27.86 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.005514, allocations: 103.6 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005517, allocations: 0 / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005518, allocations: 0 / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005523, allocations: 4 kB / 381.5 MB, free: 15.47 MB / 362.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.0004843/0.006007, allocations: 455.8 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.00604, allocations: 8.031 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.006092, allocations: 12.89 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006269, allocations: 152.9 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.006288, allocations: 4.375 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.006308, allocations: 8.312 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.006436, allocations: 62.94 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006446, allocations: 3.938 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.006455, allocations: 3.938 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.006465, allocations: 7.984 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.006502, allocations: 11.98 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.006873, allocations: 287.8 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.006981, allocations: 55.11 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.007012, allocations: 23.61 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.007024, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007129, allocations: 73.05 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.00713, allocations: 0 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003998/0.007529, allocations: 157.3 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.007561, allocations: 59.41 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.0077, allocations: 233.9 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007714, allocations: 25.7 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.007771, allocations: 158.8 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007797, allocations: 27.78 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.007832, allocations: 27.38 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.007936, allocations: 0.4962 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.007964, allocations: 15.92 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.008002, allocations: 35.36 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.00806, allocations: 51.31 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008061, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001186/0.00818, allocations: 97.62 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008193, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008199, allocations: 7.984 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.00821, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.008282, allocations: 12 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.008288, allocations: 3.938 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.008317, allocations: 7.953 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008323, allocations: 4 kB / 384 MB, free: 12.69 MB / 362.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 0.0002025/0.008526, allocations: 172.5 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.008544, allocations: 11.95 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.008699, allocations: 107.1 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008701, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.008705, allocations: 4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008709, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.008998, allocations: 392.9 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.009028, allocations: 11.98 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.009032, allocations: 8.031 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.00904, allocations: 4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.009042, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009043, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.009195, allocations: 259.4 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.009209, allocations: 11.91 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.009226, allocations: 384 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.009274, allocations: 11.98 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.009306, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.00932, allocations: 7.984 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.009404, allocations: 184.1 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009404, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00019/0.009594, allocations: 27.88 kB / 385.2 MB, free: 11.41 MB / 362.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.0009336/0.01053, allocations: 431.7 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01066, allocations: 51.59 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01066, allocations: 4 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.0107, allocations: 31.67 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01095, allocations: 44.59 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.01132, allocations: 225.8 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.01136, allocations: 71.33 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.0114, allocations: 16.97 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.01143, allocations: 20.48 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01143, allocations: 0 / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.003894/0.01533, allocations: 1.876 MB / 388 MB, free: 8.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.3201302839443088]