Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001584/0.001584, 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.001971/0.001971, 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.2223/0.2223, allocations: 34.27 MB / 295.5 MB, free: 14.59 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.89 kB / 443.2 MB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3554, allocations: 66.01 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002505/0.3579, allocations: 1.671 MB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3592, allocations: 0.9541 MB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3592, allocations: 0 / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3595, allocations: 52.34 kB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3598, allocations: 100.7 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.3599, allocations: 76.56 kB / 0.5001 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.36, allocations: 107 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.3601, allocations: 7.453 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.3601, allocations: 49.94 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.3602, allocations: 48.55 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3602, allocations: 3.312 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.3603, allocations: 29.16 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.3604, allocations: 25.64 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3604, allocations: 22.38 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3606, allocations: 98.09 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3606, allocations: 3.219 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3606, allocations: 0 / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3606, allocations: 0 / 0.5004 GB, free: 27.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003971/0.361, allocations: 341.5 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.361, allocations: 9.594 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.361, allocations: 11.55 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.3612, allocations: 146.8 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3613, allocations: 7.719 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3613, allocations: 8.109 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3614, allocations: 46.28 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3614, allocations: 3.422 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3614, allocations: 3.188 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3614, allocations: 0 / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.3615, allocations: 21.52 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3616, allocations: 129 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3617, allocations: 48.89 kB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.3618, allocations: 18.94 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3618, allocations: 3.125 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.3619, allocations: 67.44 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3619, allocations: 0 / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002519/0.3622, allocations: 104.8 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.3622, allocations: 51.41 kB / 0.5014 GB, free: 26.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3623, allocations: 191.1 kB / 0.5016 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3623, allocations: 25.7 kB / 0.5016 GB, free: 26.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.3624, allocations: 105.8 kB / 0.5017 GB, free: 26.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3624, allocations: 11.88 kB / 0.5017 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3624, allocations: 20.06 kB / 0.5018 GB, free: 26.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3625, allocations: 325.5 kB / 0.5021 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.3625, allocations: 16.98 kB / 0.5021 GB, free: 26.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.3625, allocations: 30.58 kB / 0.5021 GB, free: 26.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.3626, allocations: 52.42 kB / 0.5022 GB, free: 26.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3626, allocations: 0 / 0.5022 GB, free: 26.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001262/0.3628, allocations: 88.28 kB / 0.5022 GB, free: 26.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.3628, allocations: 10.34 kB / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3628, allocations: 4 kB / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3628, allocations: 4 kB / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.3629, allocations: 12.95 kB / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3629, allocations: 0 / 0.5023 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.3629, allocations: 7.062 kB / 0.5023 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3629, allocations: 7.219 kB / 0.5023 GB, free: 26.17 MB / 446.1 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 7.507e-05/0.363, allocations: 119.5 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.363, allocations: 14.36 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3632, allocations: 108.3 kB / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3632, allocations: 0 / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3632, allocations: 0 / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3632, allocations: 0 / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.646e-05/0.3633, allocations: 123.2 kB / 0.5026 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3633, allocations: 3.234 kB / 0.5026 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.3633, allocations: 6.25 kB / 0.5026 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3633, allocations: 7.938 kB / 0.5027 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3633, allocations: 3.062 kB / 0.5027 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3634, allocations: 0 / 0.5027 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3634, allocations: 0 / 0.5027 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3635, allocations: 115.7 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3635, allocations: 22.66 kB / 0.5028 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3636, allocations: 3.062 kB / 0.5028 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.3636, allocations: 0 / 0.5028 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3636, allocations: 10.56 kB / 0.5028 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3637, allocations: 7.219 kB / 0.5028 GB, free: 25.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3638, allocations: 143.9 kB / 0.5029 GB, free: 25.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0 / 0.5029 GB, free: 25.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.364, allocations: 19.11 kB / 0.503 GB, free: 25.62 MB / 446.1 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.001717/0.3657, allocations: 443.2 kB / 0.5034 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3659, allocations: 37.58 kB / 0.5034 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3659, allocations: 3.375 kB / 0.5034 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.366, allocations: 24.25 kB / 0.5035 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3663, allocations: 31.2 kB / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3667, allocations: 214.1 kB / 0.5037 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.681e-05/0.3668, allocations: 87.09 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.3668, allocations: 14.06 kB / 0.5038 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3668, allocations: 15.19 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3668, allocations: 0 / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of Templates: time 0.004083/0.3709, allocations: 1.606 MB / 0.5054 GB, free: 24.92 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.035795556032099]