Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001711, allocations: 75.75 kB / 21.25 MB, free: 388 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 170.4 kB / 24.5 MB, free: 3.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 34.27 MB / 295.4 MB, free: 14.45 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 79.88 kB / 443.2 MB, free: 6.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3469, allocations: 66.05 MB / 0.4973 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002511/0.3494, allocations: 1.722 MB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3507, allocations: 0.9738 MB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.3507, allocations: 0 / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.351, allocations: 50.17 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.3513, allocations: 100.6 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3514, allocations: 81.89 kB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3516, allocations: 110.7 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.3516, allocations: 7.688 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.3517, allocations: 42.55 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.3518, allocations: 39.14 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3518, allocations: 3.25 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.3519, allocations: 40.17 kB / 0.5004 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.3519, allocations: 21.3 kB / 0.5004 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.352, allocations: 36.75 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3522, allocations: 146.2 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3522, allocations: 4 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3522, allocations: 0 / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3522, allocations: 0 / 0.5006 GB, free: 27.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004768/0.3526, allocations: 376.1 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.3527, allocations: 9.625 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3527, allocations: 18.75 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3529, allocations: 153.9 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3529, allocations: 4.375 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3529, allocations: 3.594 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3531, allocations: 68.98 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3531, allocations: 4 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3531, allocations: 0 / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3531, allocations: 3.25 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.3532, allocations: 16.88 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.3534, allocations: 246 kB / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3536, allocations: 66.38 kB / 0.5015 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.3536, allocations: 15.23 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3537, allocations: 3.25 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.3538, allocations: 70.27 kB / 0.5016 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3538, allocations: 3.938 kB / 0.5016 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.3543, allocations: 197.4 kB / 0.5018 GB, free: 26.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.3543, allocations: 54.59 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3545, allocations: 276.5 kB / 0.5021 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.3545, allocations: 28.42 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3545, allocations: 121.2 kB / 0.5023 GB, free: 26.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3546, allocations: 25.83 kB / 0.5023 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.3546, allocations: 27.11 kB / 0.5023 GB, free: 26.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3546, allocations: 332.5 kB / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.3547, allocations: 20.53 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.3547, allocations: 44.61 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.3548, allocations: 58.5 kB / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3548, allocations: 3.188 kB / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/0.355, allocations: 107.6 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.355, allocations: 6.188 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.355, allocations: 3.562 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.355, allocations: 3.219 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.3551, allocations: 16.88 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3551, allocations: 0 / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.3552, allocations: 6.781 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3552, allocations: 3.25 kB / 0.5029 GB, free: 25.77 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 (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 7.145e-05/0.3552, allocations: 138 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.3553, allocations: 17.28 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3555, allocations: 128 kB / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3555, allocations: 0 / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3555, allocations: 7.188 kB / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3555, allocations: 0 / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3558, allocations: 359.1 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3558, allocations: 6.75 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.3559, allocations: 7.969 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3559, allocations: 0 / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3559, allocations: 3 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3559, allocations: 0 / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3559, allocations: 6.594 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3561, allocations: 227 kB / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3561, allocations: 10.62 kB / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3561, allocations: 14.27 kB / 0.5038 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.3562, allocations: 2.844 kB / 0.5038 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3562, allocations: 14.45 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3562, allocations: 3.062 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3563, allocations: 203.5 kB / 0.504 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3563, allocations: 0 / 0.504 GB, free: 24.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3566, allocations: 31.22 kB / 0.504 GB, free: 24.93 MB / 446.1 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.001718/0.3583, allocations: 488.9 kB / 0.5045 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3585, allocations: 64.02 kB / 0.5046 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3585, allocations: 0 / 0.5046 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.3586, allocations: 35.14 kB / 0.5046 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3589, allocations: 27.98 kB / 0.5046 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.3594, allocations: 299 kB / 0.5049 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.3595, allocations: 105.6 kB / 0.505 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.3595, allocations: 18.3 kB / 0.505 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.3595, allocations: 21.97 kB / 0.505 GB, free: 24.37 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3595, allocations: 0 / 0.505 GB, free: 24.37 MB / 446.1 MB Notification: Performance of Templates: time 0.004479/0.364, allocations: 1.861 MB / 0.5069 GB, free: 24.1 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.033964261063375]