Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001264/0.001264, 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.001535/0.001535, allocations: 167.3 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.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2982/0.2982, allocations: 34.26 MB / 296 MB, free: 0.707 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.819e-05, allocations: 2.312 kB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002178/0.002196, allocations: 1.774 MB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.003435, allocations: 1.013 MB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.003531, allocations: 0 / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.003873, allocations: 107.6 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.004188, allocations: 127.4 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.004395, allocations: 91.53 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004568, allocations: 123.6 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.004657, allocations: 11.97 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.004746, allocations: 67.81 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.004837, allocations: 63.86 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004854, allocations: 4 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.004962, allocations: 63.91 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.00502, allocations: 31.86 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.005063, allocations: 23.86 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.005251, allocations: 131.5 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005253, allocations: 0 / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005253, allocations: 0 / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005257, allocations: 0 / 381.7 MB, free: 15.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005373/0.005794, allocations: 475.6 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.005832, allocations: 12.03 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.005881, allocations: 16.84 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.006049, allocations: 160.3 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006068, allocations: 12.36 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.006089, allocations: 4.375 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.006212, allocations: 62.94 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.006224, allocations: 3.938 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006232, allocations: 0 / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.00624, allocations: 0 / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.006278, allocations: 19.98 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.006605, allocations: 307.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.006783, allocations: 62.92 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.006819, allocations: 27.8 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.006833, allocations: 3.984 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.72e-05/0.00693, allocations: 65.05 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006931, allocations: 4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005382/0.007469, allocations: 225.1 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.007505, allocations: 55.41 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.007661, allocations: 265.6 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.007673, allocations: 25.7 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.007738, allocations: 170.8 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.007772, allocations: 39.8 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.007813, allocations: 39.36 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.007927, allocations: 0.5 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.007959, allocations: 23.98 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.007999, allocations: 39.36 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.008069, allocations: 59.42 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.00807, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.008203, allocations: 117.5 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008218, allocations: 5.875 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008224, allocations: 11.97 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008237, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.008291, allocations: 19.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008296, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.008333, allocations: 11.95 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.00834, allocations: 4 kB / 384.5 MB, free: 12.18 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 (13): * Single equations (assignments): 13 * 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 7.533e-05/0.008415, allocations: 167.9 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.008436, allocations: 19.89 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.008604, allocations: 131.1 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008606, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.008609, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008613, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.00894, allocations: 448.6 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008942, allocations: 3.938 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.00898, allocations: 16 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008983, allocations: 0 / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.008994, allocations: 4 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008996, allocations: 0 / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.009, allocations: 3.938 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.009375, allocations: 295.1 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.009391, allocations: 11.91 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.009412, allocations: 4 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.009457, allocations: 4 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.00949, allocations: 15.91 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.009503, allocations: 8 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.009596, allocations: 188.4 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009596, allocations: 0 / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.009782, allocations: 31.94 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00105/0.01083, allocations: 499.5 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01096, allocations: 67.59 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01097, allocations: 0 / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.01101, allocations: 39.73 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01124, allocations: 41.56 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.0116, allocations: 282.1 kB / 386.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01165, allocations: 75.33 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.667e-05/0.01168, allocations: 12.64 kB / 386.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.01172, allocations: 28.48 kB / 386.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01172, allocations: 4 kB / 386.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Templates: time 0.004108/0.01582, allocations: 2.12 MB / 389 MB, free: 7.762 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.3113423271570355]