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.001801/0.001801, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002003/0.002003, allocations: 165.3 kB / 24.27 MB, free: 156 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.382/0.382, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.673e-06/1.673e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.413e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003778/0.003812, allocations: 1.751 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.00582, allocations: 1.005 MB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.005892, allocations: 4 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.006252, allocations: 107.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.006619, allocations: 123.5 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.00684, allocations: 87.59 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.007054, allocations: 131.6 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.007139, allocations: 11.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.007277, allocations: 75.73 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.007398, allocations: 59.86 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.007434, allocations: 4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.007566, allocations: 59.92 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.00763, allocations: 35.84 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.007681, allocations: 19.92 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.00795, allocations: 139.5 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.007954, allocations: 4 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007955, allocations: 4 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.007959, allocations: 0 / 381 MB, free: 15.24 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.0007184/0.008678, allocations: 487.2 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.008713, allocations: 8.031 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.008779, allocations: 16.84 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.009055, allocations: 164.4 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.00907, allocations: 4.375 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.00909, allocations: 384 / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.00925, allocations: 62.17 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.009264, allocations: 3.938 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.009274, allocations: 4 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.00928, allocations: 4 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/0.009378, allocations: 23.92 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.009859, allocations: 319.7 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.01012, allocations: 70.92 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.01018, allocations: 23.8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.0102, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.01038, allocations: 73.05 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.01038, allocations: 0 / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008312/0.01121, allocations: 265.2 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.01127, allocations: 59.34 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.01156, allocations: 281.6 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.01159, allocations: 25.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01172, allocations: 174.8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.01176, allocations: 31.73 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.01183, allocations: 35.38 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.01211, allocations: 0.5117 MB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.01218, allocations: 32 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.0123, allocations: 55.34 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.01246, allocations: 87.31 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01246, allocations: 3.984 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002545/0.01272, allocations: 129.5 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01274, allocations: 4 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01274, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01276, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.01285, allocations: 27.92 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01286, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.0129, allocations: 4 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01291, allocations: 8.031 kB / 383.9 MB, free: 12.07 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 0.0001544/0.01307, allocations: 180 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.01311, allocations: 23.86 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.01345, allocations: 151.2 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01345, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01346, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01346, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.01413, allocations: 480.6 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01413, allocations: 0 / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.01419, allocations: 24.05 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0142, allocations: 0 / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01421, allocations: 4 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01421, allocations: 0 / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.01422, allocations: 3.938 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.0146, allocations: 323 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.01463, allocations: 11.91 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.01465, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.01473, allocations: 8 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.01477, allocations: 11.92 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.01479, allocations: 7.984 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.01499, allocations: 204.4 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01499, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.01527, allocations: 31.94 kB / 385.4 MB, free: 10.54 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.003901/0.01917, allocations: 0.5429 MB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.01953, allocations: 95.52 kB / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01954, allocations: 0 / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01964, allocations: 47.61 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.02003, allocations: 39.91 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.02062, allocations: 294.1 kB / 386.4 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.02074, allocations: 105.1 kB / 386.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.0208, allocations: 20.62 kB / 386.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.02085, allocations: 20.5 kB / 386.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02085, allocations: 0 / 386.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of Templates: time 0.006096/0.02695, allocations: 2.111 MB / 388.6 MB, free: 7.488 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.954389009042643]