Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.00119/0.00119, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001558/0.001558, allocations: 171 kB / 24.82 MB, free: 9.297 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.174/1.174, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3833/0.3833, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 0 / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/4.095e-05, allocations: 6.25 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003486/0.003527, allocations: 1.757 MB / 380.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.005251, allocations: 1.001 MB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.005392, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.005874, allocations: 87.47 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.006323, allocations: 119.5 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.006629, allocations: 79.59 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.006886, allocations: 123.5 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.007028, allocations: 7.984 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.007169, allocations: 63.83 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.007305, allocations: 55.86 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.007326, allocations: 4 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.007434, allocations: 47.86 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.007502, allocations: 27.91 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.007562, allocations: 19.88 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.0078, allocations: 111.6 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.007805, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007806, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.007813, allocations: 0 / 382.1 MB, free: 14.8 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.0006437/0.008457, allocations: 455.8 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.008511, allocations: 8.031 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.008565, allocations: 16.84 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00877, allocations: 152.4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.008793, allocations: 8.312 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.008816, allocations: 4.328 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.00899, allocations: 66.94 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009006, allocations: 7.938 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.009014, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.009022, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.009053, allocations: 11.98 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.009397, allocations: 264.4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.009511, allocations: 51.16 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.009539, allocations: 15.67 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.009563, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.00971, allocations: 80.91 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.009713, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004554/0.01017, allocations: 133.5 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.0102, allocations: 55.34 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01035, allocations: 238.6 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.01037, allocations: 29.7 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.01046, allocations: 166.8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.01049, allocations: 19.8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.01053, allocations: 35.34 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.0107, allocations: 0.4962 MB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.01072, allocations: 12 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.01076, allocations: 31.34 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.01082, allocations: 47.38 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01082, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001297/0.01095, allocations: 97.5 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01096, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01097, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01098, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.01108, allocations: 23.92 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01109, allocations: 4.031 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.01112, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.01113, allocations: 4 kB / 384.6 MB, free: 12.08 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.0001169/0.01125, allocations: 160.6 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.01127, allocations: 15.89 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.01145, allocations: 107 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01145, allocations: 3.938 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01145, allocations: 384 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01146, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.0118, allocations: 369.6 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.0118, allocations: 4 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.01184, allocations: 12 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.01184, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01185, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.01186, allocations: 4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.01186, allocations: 7.922 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.01204, allocations: 243.5 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.01206, allocations: 15.88 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.01208, allocations: 8 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.01212, allocations: 32 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.01216, allocations: 11.98 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.01217, allocations: 8 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.01227, allocations: 177 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01246, allocations: 23.94 kB / 385.7 MB, free: 10.86 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.001042/0.0135, allocations: 425.5 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01363, allocations: 51.58 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01364, allocations: 4 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.01368, allocations: 39.66 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01394, allocations: 35.38 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.01434, allocations: 244.6 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.0144, allocations: 63.34 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.01444, allocations: 16.97 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.01452, allocations: 90.19 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01452, allocations: 4.062 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.004292/0.01881, allocations: 2.056 MB / 388.7 MB, free: 7.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.5521518760360777]