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.001736/0.001736, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001945/0.001945, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 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.2104/0.2104, allocations: 34.27 MB / 295.5 MB, free: 14.61 MB / 286.1 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.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 0.001966/0.001966, allocations: 71.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 66 MB / 0.4973 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00302/0.3546, allocations: 1.909 MB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3561, allocations: 1.016 MB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.3562, allocations: 3.938 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.3565, allocations: 46.33 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3568, allocations: 99.25 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.357, allocations: 95.66 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.3572, allocations: 146.4 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3573, allocations: 27.11 kB / 0.5005 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.3574, allocations: 61.19 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.3575, allocations: 47.12 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3575, allocations: 6.531 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.3576, allocations: 55.77 kB / 0.5007 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.3577, allocations: 29.8 kB / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.3577, allocations: 40.38 kB / 0.5008 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.358, allocations: 152.9 kB / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.358, allocations: 0 / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.358, allocations: 0 / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.358, allocations: 0 / 0.5009 GB, free: 27.55 MB / 446.1 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.0005599/0.3585, allocations: 421.1 kB / 0.5013 GB, free: 27.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3586, allocations: 9.5 kB / 0.5013 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.3586, allocations: 19.22 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3589, allocations: 167.7 kB / 0.5015 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3589, allocations: 3.594 kB / 0.5015 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3589, allocations: 15.28 kB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3592, allocations: 133.7 kB / 0.5016 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3592, allocations: 0 / 0.5016 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3592, allocations: 7.156 kB / 0.5016 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3592, allocations: 4 kB / 0.5016 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.3593, allocations: 54.69 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.3598, allocations: 446.7 kB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3601, allocations: 90.27 kB / 0.5022 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.3601, allocations: 35.42 kB / 0.5022 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.3602, allocations: 3.156 kB / 0.5022 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3603, allocations: 116.6 kB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3603, allocations: 3.938 kB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004027/0.3607, allocations: 141.4 kB / 0.5025 GB, free: 26.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3607, allocations: 58.5 kB / 0.5026 GB, free: 26.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3609, allocations: 213.7 kB / 0.5028 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3609, allocations: 33.02 kB / 0.5028 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.3609, allocations: 110 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.361, allocations: 34.58 kB / 0.5029 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.361, allocations: 31.25 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.3611, allocations: 324.7 kB / 0.5033 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.3611, allocations: 27.25 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.3612, allocations: 65.53 kB / 0.5034 GB, free: 25.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3614, allocations: 104.2 kB / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3614, allocations: 4 kB / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002289/0.3616, allocations: 136.2 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3616, allocations: 6.75 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3616, allocations: 3.938 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3617, allocations: 3.031 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.3618, allocations: 22.75 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3618, allocations: 7.359 kB / 0.5036 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.3618, allocations: 14.48 kB / 0.5036 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3618, allocations: 7.062 kB / 0.5037 GB, free: 25.3 MB / 446.1 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 7.087e-05/0.3619, allocations: 134.3 kB / 0.5038 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3619, allocations: 14.75 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3622, allocations: 139.6 kB / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3622, allocations: 0 / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3622, allocations: 3.938 kB / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3622, allocations: 3.094 kB / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3623, allocations: 151.2 kB / 0.5041 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3623, allocations: 0 / 0.5041 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.3624, allocations: 13.03 kB / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3624, allocations: 7.062 kB / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3624, allocations: 3.281 kB / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3624, allocations: 0 / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3624, allocations: 0 / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.3627, allocations: 198.7 kB / 0.5043 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.3627, allocations: 11.34 kB / 0.5043 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3628, allocations: 14.47 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.3628, allocations: 7.219 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.3629, allocations: 6.344 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.3629, allocations: 10.59 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.363, allocations: 147.7 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3632, allocations: 31.67 kB / 0.5045 GB, free: 24.7 MB / 446.1 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.001559/0.3648, allocations: 434.8 kB / 0.5049 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.365, allocations: 84.7 kB / 0.505 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.365, allocations: 3.031 kB / 0.505 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.3651, allocations: 40.48 kB / 0.505 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3654, allocations: 38.03 kB / 0.5051 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.3659, allocations: 280.5 kB / 0.5053 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.666e-05/0.366, allocations: 113.3 kB / 0.5055 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.366, allocations: 14.11 kB / 0.5055 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.366, allocations: 21.66 kB / 0.5055 GB, free: 24.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.366, allocations: 0 / 0.5055 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Templates: time 0.005222/0.3713, allocations: 2.028 MB / 0.5075 GB, free: 23.89 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/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: 5.022354835062288]