Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001115/0.001115, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001305/0.001305, allocations: 165 kB / 24.56 MB, free: 8 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.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.293 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.2498/0.2498, allocations: 34.26 MB / 295.7 MB, free: 0.6562 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.775e-05, allocations: 2.312 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00222/0.002238, allocations: 1.769 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003487, allocations: 1.009 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.00358, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.003948, allocations: 51.64 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.004357, allocations: 91.53 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.004581, allocations: 71.69 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.004774, allocations: 119.5 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.00487, allocations: 4 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.004963, allocations: 59.77 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.005039, allocations: 23.91 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005058, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.005157, allocations: 47.92 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.005217, allocations: 19.91 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.005263, allocations: 23.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.005459, allocations: 95.66 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005462, allocations: 4 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.005463, allocations: 0 / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.005469, allocations: 3.938 kB / 381.5 MB, free: 15.16 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.0005812/0.00605, allocations: 443.9 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.006093, allocations: 8.031 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.006147, allocations: 12.89 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006339, allocations: 152.4 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.006363, allocations: 4.375 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.006386, allocations: 8.375 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.006532, allocations: 58.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.006546, allocations: 7.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006556, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.006564, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.006604, allocations: 15.92 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.006962, allocations: 279.8 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007081, allocations: 51.17 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.007117, allocations: 23.62 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.00713, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.007256, allocations: 72.98 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.007258, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004479/0.007706, allocations: 157.3 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.007747, allocations: 55.41 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.007893, allocations: 222.6 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.00791, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.007978, allocations: 150.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.008014, allocations: 27.78 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.008052, allocations: 27.38 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.008217, allocations: 0.5 MB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.008253, allocations: 15.98 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.008293, allocations: 31.38 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.008361, allocations: 63.28 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008362, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001199/0.008482, allocations: 85.59 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008497, allocations: 11.94 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.008503, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008519, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.0086, allocations: 20.02 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008606, allocations: 4 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.008636, allocations: 4 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008644, allocations: 4 kB / 384 MB, free: 12.43 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 8.834e-05/0.008732, allocations: 168.5 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.008747, allocations: 7.953 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.008896, allocations: 103.1 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008898, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.008902, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.008908, allocations: 7.984 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.009212, allocations: 392.9 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009213, allocations: 0 / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.009241, allocations: 12 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.009244, allocations: 3.938 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.009251, allocations: 0 / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.009254, allocations: 4.375 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009256, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.009412, allocations: 263.4 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.009429, allocations: 19.89 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.009445, allocations: 4.031 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.009486, allocations: 4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.009523, allocations: 11.98 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.009536, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.67e-05/0.009613, allocations: 167.8 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009613, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.009793, allocations: 31.92 kB / 385.2 MB, free: 11.17 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.0009188/0.01071, allocations: 431.5 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.01085, allocations: 55.61 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01085, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.0109, allocations: 31.61 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01114, allocations: 33.84 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.01148, allocations: 222.2 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.01164, allocations: 63.34 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.01167, allocations: 16.97 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.01171, allocations: 20.62 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01171, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003988/0.0157, allocations: 2.005 MB / 388.1 MB, free: 8.434 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.2358183981850743]