Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.002051/0.002051, 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.002029/0.002029, allocations: 169.3 kB / 24.28 MB, free: 152 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.635/1.635, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4299/0.4299, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 375.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.363e-05, allocations: 2.312 kB / 375.4 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004475/0.004508, allocations: 1.684 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.007123, allocations: 0.9665 MB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.007211, allocations: 7.875 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.007605, allocations: 51.81 kB / 378.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.008062, allocations: 107.5 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.008334, allocations: 75.61 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.008591, allocations: 99.62 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.008637, allocations: 8.172 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.0088, allocations: 55.83 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.008913, allocations: 31.84 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.008938, allocations: 4 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.009055, allocations: 28 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.009142, allocations: 27.91 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.009214, allocations: 27.86 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.009532, allocations: 115.6 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.009536, allocations: 0 / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009537, allocations: 0 / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009543, allocations: 0 / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008243/0.01037, allocations: 483.3 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.01041, allocations: 8.031 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.01048, allocations: 20.84 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.0108, allocations: 165.3 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.01082, allocations: 384 / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.01083, allocations: 384 / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.01099, allocations: 54.22 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01101, allocations: 3.938 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.01102, allocations: 3.938 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.01102, allocations: 0 / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.427e-05/0.01112, allocations: 15.98 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.01142, allocations: 164.6 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.01166, allocations: 55.11 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.01174, allocations: 23.67 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.01176, allocations: 4 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.01197, allocations: 72.98 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.01198, allocations: 0 / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004057/0.01238, allocations: 101.5 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.01244, allocations: 55.41 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.01289, allocations: 295 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.01292, allocations: 25.7 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.01308, allocations: 174.9 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.01314, allocations: 19.89 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01321, allocations: 23.38 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003526/0.01356, allocations: 0.504 MB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.01363, allocations: 19.92 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.01372, allocations: 35.36 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01386, allocations: 39.38 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01386, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.01411, allocations: 85.53 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.01413, allocations: 8 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01414, allocations: 7.969 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01416, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01426, allocations: 11.98 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01427, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.01433, allocations: 7.938 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01435, allocations: 4 kB / 381.1 MB, free: 14.93 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 (7): * Single equations (assignments): 7 * 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.0001783/0.01452, allocations: 168 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.01458, allocations: 19.89 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.01486, allocations: 90.77 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01486, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01487, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01487, allocations: 0 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.01515, allocations: 180.5 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01515, allocations: 0 / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.01519, allocations: 4 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01519, allocations: 0 / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.0152, allocations: 4 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.01521, allocations: 3.938 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01521, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01554, allocations: 136.2 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.01557, allocations: 7.953 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.01561, allocations: 7.984 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.01567, allocations: 7.938 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.01572, allocations: 0 / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.01574, allocations: 11.97 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.01602, allocations: 204.5 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01602, allocations: 0 / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.01637, allocations: 20 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.003739/0.0201, allocations: 437 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.02037, allocations: 51.61 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02037, allocations: 0 / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.02047, allocations: 27.67 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.02091, allocations: 43.62 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.02164, allocations: 246.5 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.0218, allocations: 97.7 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.02186, allocations: 12.55 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.02191, allocations: 20.5 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02191, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006818/0.02873, allocations: 1.654 MB / 384.5 MB, free: 11.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 5.316785537987016]