Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001886/0.001886, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002093/0.002093, allocations: 165.7 kB / 24.27 MB, free: 164 kB / 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.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3278/0.3278, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.146e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003597/0.003629, allocations: 1.723 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.005631, allocations: 0.9774 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.005722, allocations: 0 / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.006058, allocations: 39.7 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.006462, allocations: 99.47 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.006731, allocations: 79.67 kB / 378.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.006959, allocations: 107.6 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.007049, allocations: 8 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.007168, allocations: 59.83 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.007249, allocations: 27.91 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.00727, allocations: 4 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.007383, allocations: 43.92 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.007441, allocations: 15.92 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.007494, allocations: 27.84 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.00775, allocations: 119.6 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007753, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007754, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.007759, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.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.0006019/0.008361, allocations: 345.6 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.008397, allocations: 8.031 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.00846, allocations: 16.84 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.008763, allocations: 154.2 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.008775, allocations: 384 / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.008796, allocations: 4.375 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.008954, allocations: 58.22 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.008967, allocations: 3.938 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.00898, allocations: 4 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.008983, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.009066, allocations: 27.92 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.009466, allocations: 240.5 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.009673, allocations: 58.61 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.009739, allocations: 20.8 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009753, allocations: 4 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.009917, allocations: 71.38 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.009919, allocations: 0 / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/0.01052, allocations: 177.4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.01058, allocations: 55.41 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01083, allocations: 206.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01085, allocations: 25.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.01093, allocations: 112 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.01097, allocations: 23.73 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.01102, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01122, allocations: 322.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.01128, allocations: 23.98 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.01136, allocations: 33.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.0115, allocations: 65.66 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.0115, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.01173, allocations: 113.5 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01175, allocations: 4 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01175, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01177, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01188, allocations: 24.3 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01188, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.01193, allocations: 4 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.01194, allocations: 4 kB / 380.9 MB, free: 15.17 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.0001317/0.01207, allocations: 133.8 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.0121, allocations: 15.91 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.01239, allocations: 127.2 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0124, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.0124, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.0124, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.01293, allocations: 354.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01293, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.01298, allocations: 15.98 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01298, allocations: 11.95 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01299, allocations: 4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.013, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.013, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.0133, allocations: 212.2 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.01332, allocations: 11.91 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.01335, allocations: 11.98 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01346, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01351, allocations: 7.984 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01353, allocations: 7.938 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.01369, allocations: 164.2 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01396, allocations: 23.94 kB / 381.9 MB, free: 14.02 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.002226/0.01619, allocations: 495.2 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01642, allocations: 59.91 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01642, allocations: 3.938 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.0165, allocations: 27.98 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01689, allocations: 31.97 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.01752, allocations: 229.6 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.01764, allocations: 100.4 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.0177, allocations: 17.28 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01775, allocations: 24.48 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01775, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005539/0.02329, allocations: 1.865 MB / 384.8 MB, free: 11.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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: 4.8790152539731935]