Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001917/0.001917, 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.001705/0.001705, 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.477/1.477, allocations: 177.1 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.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.3368/0.3368, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.035e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004294/0.004324, allocations: 1.914 MB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.00645, allocations: 1.017 MB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.006599, allocations: 0 / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.006907, allocations: 43.64 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.007335, allocations: 103.4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.007667, allocations: 95.64 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.007986, allocations: 159.4 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.008113, allocations: 13.81 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.008289, allocations: 83.8 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.008418, allocations: 31.84 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.008445, allocations: 8 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.00859, allocations: 55.84 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.008665, allocations: 23.92 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.008744, allocations: 35.84 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.009117, allocations: 143.5 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.009122, allocations: 0 / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.009124, allocations: 0 / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.009129, allocations: 0 / 381.1 MB, free: 15.13 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.0007985/0.009927, allocations: 423 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.009963, allocations: 12.03 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.01005, allocations: 20.8 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.01041, allocations: 170.3 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.01043, allocations: 8.375 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.01046, allocations: 8.375 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.01076, allocations: 134.4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01077, allocations: 7.875 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.01078, allocations: 4 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.01078, allocations: 4 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.01096, allocations: 55.89 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.01164, allocations: 448.7 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.01199, allocations: 86.59 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.0121, allocations: 36.84 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.01212, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.01236, allocations: 113.1 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.01236, allocations: 0 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004506/0.01281, allocations: 149.5 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.01286, allocations: 59.34 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.0131, allocations: 203.6 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01313, allocations: 29.7 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01325, allocations: 116 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.01328, allocations: 31.77 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.01334, allocations: 37.67 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01353, allocations: 334.8 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01363, allocations: 27.98 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01375, allocations: 60.27 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.01397, allocations: 96.22 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01397, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003325/0.0143, allocations: 149.4 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.01432, allocations: 10.17 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01433, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.01435, allocations: 4 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.01445, allocations: 19.98 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01446, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.01454, allocations: 12.06 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01455, allocations: 12 kB / 383.9 MB, free: 12.06 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.000141/0.01469, allocations: 137.7 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.01473, allocations: 15.91 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.01506, allocations: 131 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01506, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01507, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01507, allocations: 3.938 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01525, allocations: 153.2 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01526, allocations: 3.984 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.01535, allocations: 19.98 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01535, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01536, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01536, allocations: 3.984 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01536, allocations: 4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.01581, allocations: 197.4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.01584, allocations: 11.94 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.01587, allocations: 8 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.01594, allocations: 12.05 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.016, allocations: 3.984 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.01602, allocations: 8 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.01618, allocations: 147.2 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01618, allocations: 0 / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.01644, allocations: 27.94 kB / 384.8 MB, free: 11.12 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.001936/0.01838, allocations: 446.8 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.01865, allocations: 84.02 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.01865, allocations: 0 / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.01877, allocations: 43.91 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.01911, allocations: 36.28 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01969, allocations: 272.2 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.01981, allocations: 102.2 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.01988, allocations: 17.48 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.01994, allocations: 20.48 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01994, allocations: 0 / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005837/0.02578, allocations: 2.052 MB / 387.8 MB, free: 8.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.823105729068629]