Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001978/0.001978, 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.002664/0.002664, allocations: 161.7 kB / 24.27 MB, free: 172 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.551/1.551, allocations: 177.2 MB / 204.6 MB, free: 5.566 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.3382/0.3382, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.694e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003552/0.003579, allocations: 1.908 MB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.005612, allocations: 1.017 MB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.005715, allocations: 0 / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.006084, allocations: 51.62 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.006463, allocations: 107.4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.006743, allocations: 95.58 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.007041, allocations: 147.5 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.007172, allocations: 21.78 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.007344, allocations: 71.83 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.007477, allocations: 39.81 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.007507, allocations: 8 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.007646, allocations: 55.86 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.007736, allocations: 31.91 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.007821, allocations: 31.84 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.008202, allocations: 147.5 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.008207, allocations: 0 / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.008209, allocations: 0 / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.008217, allocations: 0 / 381.1 MB, free: 15.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009787/0.009195, allocations: 411 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.009246, allocations: 12.03 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.009342, allocations: 20.8 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.009791, allocations: 178.3 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.009809, allocations: 4.312 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.009849, allocations: 12.38 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.01017, allocations: 133.9 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01019, allocations: 7.938 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.01021, allocations: 3.984 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01021, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.01038, allocations: 51.91 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.01109, allocations: 460.7 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.01146, allocations: 86.59 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01157, allocations: 36.83 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01159, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.01184, allocations: 109.1 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.01184, allocations: 0 / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000463/0.0123, allocations: 149.5 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.01236, allocations: 63.33 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.0126, allocations: 199.7 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.01263, allocations: 33.7 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01273, allocations: 112 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.01276, allocations: 31.78 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.01282, allocations: 33.66 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004579/0.01328, allocations: 330.8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01338, allocations: 27.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01351, allocations: 72.27 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.01374, allocations: 96.19 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01374, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.01407, allocations: 149.4 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01408, allocations: 8.125 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01409, allocations: 0 / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.01411, allocations: 4 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01422, allocations: 23.98 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01423, allocations: 0 / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.01431, allocations: 11.94 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01432, allocations: 8 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: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001427/0.01446, allocations: 137.7 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.0145, allocations: 15.91 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.01484, allocations: 139 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01484, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01485, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.01486, allocations: 7.969 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.01504, allocations: 153.2 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01505, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.01513, allocations: 12 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01513, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.01515, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01515, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.01516, allocations: 11.97 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.01562, allocations: 193.4 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.01565, allocations: 15.92 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01568, allocations: 4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.01575, allocations: 8 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.0158, allocations: 3.984 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01581, allocations: 4 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.01597, allocations: 147.2 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01597, allocations: 0 / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.01622, allocations: 35.98 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001939/0.01816, allocations: 449.9 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.01843, allocations: 79.89 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01844, allocations: 0 / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01856, allocations: 35.92 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01888, allocations: 40.53 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.01949, allocations: 276.1 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.01962, allocations: 98.11 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.01969, allocations: 21.48 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.01974, allocations: 20.5 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01974, allocations: 0 / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005771/0.02551, allocations: 2.057 MB / 387.8 MB, free: 8.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.865067504928447]